×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Slide Menu

Slide Menu 8 years 1 month ago #33497

  • Holger Koch
  • Holger Koch's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hallo,
how do I change the with of the slide menu? Which parameter?
Danke Holger

Slide Menu 8 years 1 month ago #33515

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You would need to change the menu width in the css file first:
media\com_hotspots\css\hotspots-v4.css
line 16
.slide_menu {
	background: none repeat scroll 0 0 #FFFFFF;
	box-shadow: 0 10px 10px #565656;
	color: #000000;
	/*height: 200px;*/
	left: 100%;
	width: 300px;
	z-index: 20;
	position: absolute;
}
 

SEt the width to whatever you need. After that you need to change:
media\com_hotspots\js\v4\apps\menu\show\show_view.js
line 28
this.$el.animate(
					{
						'marginLeft': '-300px'
					},
to
this.$el.animate(
					{
						'marginLeft': '-' + this.$el.width()
					},
I'll make this change in the core so next time you need to update it won't be a problem. Having an override for the css setting should be enough.

Regards,
Daniel

Slide Menu 8 years 1 month ago #33530

  • Holger Koch
  • Holger Koch's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hallo Daniel,
Danke
Holger
  • Page:
  • 1
Time to create page: 0.120 seconds