Hi,
Added the following CSS to activate italic when a menu is selected:
.main_menu ul:first-child > li.current_page_item > a {
font-style: italic!important;
}
But, when entering a sub-page it does not work anymore.
Any ideias how to activate on 2nd level pages also?
Pages are already the correct attribute.
Website is under maintenance – pls use login provided in private area.
Thank you!
Hi!
Try changing your code to:
.main_menu ul:first-child > li.current-menu-item > a,
.main_menu ul:first-child > li. current-menu-ancestor > a,
.main_menu ul:first-child > li.current-menu-parent > a{
font-style: italic!important;
}
Cheers!
Josue
Hi Josue,
Changed but did not worked. :-(
Can you review it again pls?
Thanks! Afonso
This will do it:
.main_menu ul:first-child > li.current-menu-item > a,
.main_menu ul:first-child > li.current-page-ancestor > a,
.main_menu ul:first-child > li.current-menu-parent > a {
font-style: italic!important;
color: #333333;
}
Hi Josue,
Worked perfectly!
Thank you!!!