Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 07:38:13 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155534 Posts in 21713 Topics by 7737 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Active menu problem!  (Read 418 times)
Roych

Offline Offline

Posts: 149



« on: July 12, 2010, 11:24:11 AM »

Hello
I've made a WB template from some html template and now Im having a problem with the menu, the top active menu is not showing right. I posting a picture of what I mean and the codes for the menu.
I would like the arrow to be under the link. and I cant figure it out how to do this.

hope you understand.


Menu code:
Code:
<ul>

<li id="first" class="active"><a href="/"> <?php show_menu(101true'<li>[a][menu_title]</a>''</li>','','',''); ?>

</a></li>

<li></li>



</ul>

CSS code:
Code:
#topnav li#first {background:none!important;}

#topnav .active a {background:url(../images/menuactive.gif) no-repeat center 27px; color:#184896;}

#topnav a:visited, #topnav a:active {color:#7098c6; text-decoration:none;}

#topnav a:hover {color:#184896;}


Thx in advance  smiley
Logged
snark
Guest
« Reply #1 on: July 12, 2010, 06:15:35 PM »

use showmenu2

.menu-current

.menu-parent

read the showmenu2 description and be amazed


Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!