-
AuthorPosts
-
July 10, 2014 at 8:34 pm #289712
Hi There,
When we set
#mobile-advanced .current-menu-item {
background-color: #036b05;
}all the ancestor are colored as well.
How can we avoid that?
Thanks
July 10, 2014 at 11:33 pm #289786Hi elbnetz!
Please add following code to Quick CSS
.current-menu-item { background-color: #036b05; }Cheers!
YigitJuly 11, 2014 at 11:38 am #289995This reply has been marked as private.July 11, 2014 at 1:21 pm #290036Hey!
Please add following code to Quick CSS instead
@media only screen and (max-width: 768px) { .current_page_ancestor > a { background-color: #036b05; }}Best regards,
YigitJuly 11, 2014 at 1:55 pm #290069Thanks, but no change.
July 11, 2014 at 2:01 pm #290070Hey!
It does work fine on my local installation. Can you post the link to your website so we can have a look?
Regards,
YigitJuly 11, 2014 at 2:08 pm #290075This reply has been marked as private.July 11, 2014 at 2:37 pm #290097Hey!
Please remove the code i posted here – https://kriesi.at/support/topic/how-to-highlight-active-menu-item/#post-289786
and it should work fine. I have the other custom CSS code to Quick CSS field and when i disable the previous code, it does work fineCheers!
YigitJuly 11, 2014 at 2:59 pm #290108This reply has been marked as private.July 11, 2014 at 3:23 pm #290122Hey!
Please add following code to Quick CSS as well
1-@media only screen and (max-width: 768px) { .current-menu-item > a{ color: white!important; }} .sub-menu .current-menu-item .avia-menu-text { color: yellow!important; }Best regards,
YigitJuly 11, 2014 at 6:04 pm #290203This reply has been marked as private.July 12, 2014 at 3:06 pm #290491Hi!
I have added one additional code to Quick CSS field. Please remove following code from custom.css file and it should work as desired
@media only screen and (max-width: 768px) { .current_page_ancestor > a { background-color: #036b05; }}Best regards,
YigitJuly 14, 2014 at 4:55 pm #291147This reply has been marked as private.July 15, 2014 at 7:24 am #291419Hi!
Thank you for the update.
We can’t see the actual website, it requires us to login. Please post the login details here.
Cheers!
IsmaelJuly 15, 2014 at 9:08 am #291441This reply has been marked as private.July 15, 2014 at 9:58 am #291466Hi There,
we have solved the problem ourselves, Thanks!
July 15, 2014 at 10:34 am #291483 -
AuthorPosts
- The topic ‘How to highlight active menu item’ is closed to new replies.
