1. jwm
  2. Free Templates / Extensions
  3. Thursday, 05 February 2015
  4.  Subscribe via email
I am using the excellent J51 Classic menu for a new project, where the dropdown menu is in the top right corner of the page and that menu has in some cases 2 more sub menus. However, when submenu opens, it goes always to the right, so if you make your browser screen smaller, you can't see what's there. For http://www.its-teknik.dk I purchased the J51 Oxygen template, where the submenus normally open to the right, but if the screen is resized/smaller, it automatically opens the submenus to the left, which is kind of neat.

Could you be so kind as to inform me, what code to insert in custom css on the template to "fix" this? I've looked through the 92 items searching for Classic on the forum, but without luck.

Site's running locally, so I cannot send URL, but I send picture of how menu behaves in J51 Classic, and another picture of what I want it to do, like in the Oxygen template. Thanks in advance!
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Try adding the following to the Custom CSS field of your templates parameters where 507 (edit) is the menu item ID to your parent item (ITS Teknik)...


#hornav li.item-507 ul li ul {
left: auto !important;
right: 210px !important;
}


You will see the menu item ID number in the right column of your menu item list (Menus -> [YourMenu])

CiarĂ¡n
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi ya! OK, that worked, had to insert the code 3 times for 3 different parent menus, and now it always goes left, which is fine. On Oxygen though, it goes right if there's space enough, and automatically left, when there's not enough space, which was kind of elegant. But this works. Thanks so much for your help!
  1. more than a month ago
  2. Free Templates / Extensions
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok