main menu item with submenu hover

More
13 years 4 months ago - 13 years 4 months ago #11637 by epedragosa
Hi,

I added the following line so that there will be background color on hover.
<?php echo $id; ?> li a:hover, <?php echo $id; ?> li.active > a {
color: #000;
font-weight: bold;
background: #90CEF1;
}

This works fine for main menu items that doesn't have submenu. How do I apply it to menus with submenus? Please check this link.

Lastly, the "Faculties" links to a K2 item, but instead of showing the item, it only shows subitems.

beta.apiu.edu/index.php/academics

Edward
Last edit: 13 years 4 months ago by epedragosa.

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #11646 by ced1870
Hi
try something like this
Code:
<?php echo $id; ?> li a.toggler:hover, <?php echo $id; ?> li.active > a.toggler { background: none repeat scroll 0 0 #90CEF1 !important; color: #000000; font-weight: bold; }

CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #11669 by epedragosa
Hi, it works now but i noticed that the parent arrow gets covered. I also need it to be on the hover. Thanks.

Edward

Please Log in or Create an account to join the conversation.

More
13 years 4 months ago #11672 by ced1870
then you must add it into your background css, look in the code of your page how it is called

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.199 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 773 guests and one member online