Another lever and some css Resolved Requested: 2 years and 10 months ago Hi there! Is there a way to to add a color scheme for Grandchild´s child?Is there a way to make sure the highest lever have one color even if it is at the same time the active page?Thanks!
OnPoint Plugins 2 years and 10 months ago Good Morning Something like this should do the trick for styling the grandchild’s child level: #advanced_sidebar_menu-2-wrap .child-sidebar-menu .grandchild-sidebar-menu.level-2.children li a { color: #000000 !important; background-color: #c4c4c4 !important; font-weight: normal !important; } You may style the highest level page, even when it’s the current page like so: #advanced_sidebar_menu-2-wrap .parent-sidebar-menu > li > a, #advanced_sidebar_menu-2-wrap .parent-sidebar-menu > li.page_item.current_page_item > a { color: #ffffff !important; background-color: #004a82 !important; font-weight: normal !important; font-size: 18px !important; } Have a great weekend! Mat Lipe
Hildegard 2 years and 10 months ago Thanks Mat(e)! On this page I have give the Child child child child page a padding-left 40px. is it possible to give Child child child page a padding-left 20px WITHOUT Child child page gets it to?
OnPoint Plugins 2 years and 10 months ago Certainly, this may be done using direct decedent selectors like so: #advanced_sidebar_menu-2-wrap .child-sidebar-menu .grandchild-sidebar-menu.level-1.children > li > a { padding-left: 20px !important; }
Good Morning
Something like this should do the trick for styling the grandchild’s child level:
You may style the highest level page, even when it’s the current page like so:
Have a great weekend!
Mat Lipe
Thanks Mat(e)!
On this page I have give the Child child child child page a padding-left 40px.
is it possible to give Child child child page a padding-left 20px WITHOUT Child child page gets it to?
Certainly, this may be done using direct decedent selectors like so: