main menu item with submenu hover
- epedragosa
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
11 years 10 months ago - 11 years 10 months ago #11637
by epedragosa
main menu item with submenu hover was created 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
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: 11 years 10 months ago by epedragosa.
Please Log in or Create an account to join the conversation.
11 years 10 months ago #11646
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic main menu item with submenu hover
Hi
try something like this
CEd
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.
- epedragosa
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
11 years 10 months ago #11669
by epedragosa
Replied by epedragosa on topic main menu item with submenu hover
Hi, it works now but i noticed that the parent arrow gets covered. I also need it to be on the hover. Thanks.
Edward
Edward
Please Log in or Create an account to join the conversation.
11 years 10 months ago #11672
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic main menu item with submenu hover
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.222 seconds