Archived topic
Nearly cloned webpages has different behaviors in the main menu
3 replies · Started by Carl on January 27, 2020
I have exportet all from GeneratePress in website A and imported this into the new website B.
In the Website A everything with the submenus is OK, in the website B the colours of submenus are different if the main menu item is selected and not as nice as in the website A and the hover is not running.
Website A:
https://www.simon-weber.de/team/
Website B:
http://wp.fritz-simon.de/publikationsverzeichnis/
Thank you for some hints!
Hi there,
I believe that's because of Website B is using anchor items in the submenu so the color actually inherits from setting current menu items.
Does this CSS help?
.main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
background-color: #09483f;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know :)
Thank you, this did help me!
Kind regards
No problem :)