I’m having an odd issue. I got the menu working on the homepage of a site I’m working on, but when I repeat the process on other pages it pushes the menu (main and secondary) to the far right. I’m trying to either merge the menu’s with header like I have on the front page. OR if possible have a coloured background for the menus on every page BUT the home page?
Part of the issue here is in order to get the secondary menu to be transparent on the homepage I’ve had to take away the background colour.
If I add it back in for the other pages the background colour shows on the homepage too.
Is there a way to merge the secondary menu with header like the main menu? This way I wouldn’t need to use <span> on the other pages avoiding the issue of the menus jumping to one side.
The secondary navigation doesn’t currently have the same color options in the page header as the primary navigation. It would be easier to remove the background color on the pages it needs it on than to add it back to the pages that need it:
I’ve been trying to get that CSS working since posting my earlier comments.
I added it to the first section, custom CSS in Elementor. When still editing the page the secondary nav is transparent, but when trying to view it later the background colour is back.
I’m tried adding !important; to the css but no change.