Site logo

Archived topic

Elements Submenu Feature Request

18 replies · Started by Sven on September 13, 2019

Viewing posts 16–19 of 19

Tom,

nice tweak with "page-id-xxx". Did not notice this before.
But the transparent background is fine, I need to style the text color.

Found out, this is working:

'page-id-106 .main-nav ul ul li a:any-link {
	color: #030303;
}
.page-id-106 .main-nav ul ul li[class*="current-menu-"] a:any-link {
	color: #030303;
}

Thank you for the hint.

Glad you got it working :)

Because this is kind of a workaround, I still support the feature request.
🥺

Just in case someone finds this helpful: the CSS above also changes the off canvas menu.
If you want to exclude the slideout menu, try this:

.page-id-xxx .main-nav ul:not(.slideout-menu) ul li a:any-link {
	color: #030303;
}
.page-id-xxx .main-nav ul:not(.slideout-menu) ul li[class*="current-menu-"] a:any-link {
	color: #030303;
}
This archived topic is closed to new replies.