WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Active menu tab with rounded corners
(1/1)
JonH:
I need help getting rounded corners to my active pages.
menu:
--- Code: ---<?php show_menu(1, 1, 1); ?>
--- End code ---
css:
--- Code: ---#body #menu ul li a.menu_current{
color:#000;
background: url(../images/menu_left.gif) no-repeat left bottom;
margin-top: 0;
background: #fff;
padding-right: 10px;
}
#body #menu ul li a.menu_current span {
background-image:url(../images/menu_right.gif);
background-repeat:no-repeat;
background-position:right bottom;
}
--- End code ---
How do I get the <span> into the menu? I found a template with rounded tabs. It uses this menu code:
--- Code: ---<?php show_menu(1,0,1,true,'<li [class]>[a][menu_title][/a]</li>','','','','','class="current"'); ?>
--- End code ---
but I don't know how to use it as the template is very old.
applepie:
Have you look at other CSS templates with rounded corner?
JonH:
Yes, the one mentioned above.
Navigation
[0] Message Index
Go to full version