PowerStore 4.5 Changing the sub menu width
I am trying to change the submenu width to accommodate the longer product categories but can't seem to find where to do this, the menu is too narrow.
Is there a simple way to do it that I'm missing?
Thanks
I am trying to change the submenu width to accommodate the longer product categories but can't seem to find where to do this, the menu is too narrow.
Is there a simple way to do it that I'm missing?
Thanks
change the level 1 submenu to 200px wide by editing the webassist/plugins/main_menu/menu.php file. add the following styles:
ul#cssmw > li > ul.level-1 > li > a {
width:200px;
}
ul#cssmw > li > ul.level-1 > li > ul.level-2 {
left:60px;
}
This worked great Jason, looks a lot better but I need to apply this to the sub menu level 2 (the sub menu off the level 1 sub menu) too, btu I don't see where that is.
Any pointers for that?
Thanks
add another selector:
ul#cssmw > li > ul.level-1 > li > a li > ul.level-2 {
width:200px;
}
Jason,
adding another selector doesn't seem to do anything to the sub-menu. It stays the same.
not enough coffee, I had a syntax error.
the selector name:
ul#cssmw > li > ul.level-1 > li > a li > ul.level-2 {
should be:
ul#cssmw > li > ul.level-1 > li > a > li > ul.level-2 > li > a {
That doesn't seem to work either!
Is it possible another selector is interfering?
I guess this is one of times where it's better to just do it in a test site than think you can write it on the fly, coffee or not.
here is full tested level 1, 2, and 3 width change css:
ul#cssmw > li > ul.level-1 > li > a {
width:200px;
}
ul#cssmw > li > ul.level-1 > li > ul.level-2 {
left:60px;
}
ul#cssmw > li > ul.level-1 > li > ul.level-2 > li > a {
width:200px;
}
ul#cssmw > li > ul.level-1 > li > ul.level-2 > li > ul.level-2 {
left:60px;
}
ul#cssmw > li > ul.level-1 > li > ul.level-2 > li > ul.level-2 > li > a {
width: 200px;
}
That did it Jason, Thanks a bunch!
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.