Youjoomla Support Forums (http://www.youjoomla.com/joomla_support/index.php)
-   YJ Vertical Menu (http://www.youjoomla.com/joomla_support/forumdisplay.php?f=258)
-   -   changing width of submenu items (http://www.youjoomla.com/joomla_support/showthread.php?t=13505)

kmoerman 01-29-2015 07:28 AM

changing width of submenu items
 
Quote:

Originally Posted by neo (Post 60654)
Screenshot by Lightshot



add this to your template css



ul.yj-vertical-menu li.yj-vertical-menu-item a{
height:auto!important;
}
ul.yj-vertical-menu ul li.yj-vertical-menu-item a{
padding:15px;
text-align:left;
text-indent:0;
}

This works fine but is it also possible to change the width of the menu items of the 2nd and 3rd level? The 1st level has to be 200px width but the other levels can be up to 400px.
It would be great to combine the mentioned solution with a wider 2nd and 3rd level.

arefund 01-29-2015 07:35 AM

Hello kmoerman.
Please read the forum rules and open new thread if you have a question and don't jump into other peoples thread.
You can add this into your custom.css file to change the width:
ul.yj-vertical-menu li ul{
width:your width;
}
Thank you.


All times are GMT -4. The time now is 03:48 PM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.