WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Modification Template css_fun
Argos:
--- Quote from: bernie70 on January 30, 2013, 10:28:39 PM ---When I click on a menu with submenus the submenu appears in the grey area and in the red one. When I click then on a menu without submenus the submenu in the grey area disappears but not in the red area.
--- End quote ---
Sorry, it should be this in the red area:
--- Code: ---
<?php show_menu2(0,SM2_ROOT,SM2_START,SM2_ALL,'[li][a][menu_title]</a>','</li>','<ul id="menu">','</ul>',false,false) ; ?>
--- End code ---
And just use exactly that for the PHP part of the main menu, don't use the if(SHOW_MENU) part that I see in your template. It's old code and does not belong to the showmenu2 setup.
The font styling of the submenu has nothing to do with WB, it's basic CSS, so is not really something to ask for help about here. But to give you a start: copy the styles for the main menu to begin with, and add class p10 in it, like so:
--- Code: ---#main-menu .p10 a, #main-menu .p10 a:link, #main-menu .p10 a:visited {display:block;font-size:18px;font-weight:400;color:#ccc;text-decoration:none;border-bottom:1px dotted #a80000;padding:2px 0 3px 15px;}
#main-menu .p10 li.menu-current a, #main-menu .p10 li a:hover {color:#fff;}
#main-menu .p10 li.menu-child a {color:#ccc;}
--- End code ---
Then change styles to your liking. You can also use UL class sidebar-menu to style if you want.
Navigation
[0] Message Index
[*] Previous page
Go to full version