Home › Forums › Weaver Xtreme Theme › Menu over Header Image
- This topic has 21 replies, 3 voices, and was last updated 3 months, 3 weeks ago by
ROBIN.
-
AuthorPosts
-
March 27, 2026 at 13:26 UTC - Views: 91 #76591
ROBIN
ParticipantHi Friends
This is for my website http://www.bellaann.com
The client wants an entire new website design, but I am starting with this issue:
Chat GPT and I have spent some time trying to figure out how to move the menu over the header image. Here is what it told me to say: “I want the primary menu (.wvrx-menu / #menu-primary) to overlay on top of the header image instead of appearing below it. I’ve tried absolute positioning but the theme structure seems to override it. Is there a built-in option or the correct wrapper to target?”
When we were trying to make it happen I clicked the box for the menu to be in standard position. I can’t actually leave it that way right now or it looks weird, so I moved it back to the top.
Here is the Code it had me use the last time:
`/* Make header the anchor */
#header, #masthead {
position: relative;
}/* Move the ENTIRE menu over the header image */
.wvrx-menu,
.wvrx-menu-clear {
position: absolute !important;
top: 40px; /* adjust this */
left: 0;
width: 100%;
z-index: 9999;
background: transparent !important;
text-align: center;
}/* Style menu text */
.wvrx-menu a {
color: #ffffff !important;
font-weight: 600;
}I appreciate any help you can provide
March 27, 2026 at 15:21 UTC - Views: 89 #76592scrambler
ModeratorYou need to elaborate .
You have a fixed top and full width menu will that remain?
Are you planning / wanting to remove the menu background and just move the text items over the header image?
Because if not then graphically having the menu area over the header image is the same a cutting of the top part of the header image….
March 28, 2026 at 14:35 UTC - Views: 82 #76598ROBIN
ParticipantThank you for your help
The fixed top and full width menu will NOT remain. I would like the menu to be centered on the top of the header picture.
That leads to the question…. what about pages without a header image? How would I show the menu for those pages?
Yes, I am planning to remove the menu background and just move the text items over the header image. I know that would mean that the background setting would be transparent.
Let me know if there is anything else I missed.
Your help is greatly appreciated.
March 28, 2026 at 16:55 UTC - Views: 76 #76599scrambler
ModeratorFor me to give you the proper CSS I need everything else in place.
So set the menu as you want it (apart from being above header image) like, background transparent, align center, no fix on top…..
Then I can play with the site and CSS to find the best way to move it over the header image.
And give me a link to a page with no header.
In all likelihood, the rule below will do it under these conditions
#nav-primary {position:absolute; top:20px; width:100%;}
But I may have to tweak it especially for mobile and page without headers
March 29, 2026 at 17:16 UTC - Views: 64 #76600ROBIN
ParticipantThat worked beautifully on desk top. Do you have any idea how to handle it for mobile? I am not really sure what we could do instead, it populates down the page over the other text and makes it look weird. On a regular site when you click the hamburger icon it creates a space for the links.
I am not worried about no header yet.
Thanks for any help you can give.
March 29, 2026 at 18:23 UTC - Views: 60 #76601scrambler
Moderatorif you dont want it on mobile you can simply modify the rule to limit the change to desktop
.is-dektop #nav-primary {position:absolute; top:20px; width:100%;}
March 29, 2026 at 23:26 UTC - Views: 57 #76602ROBIN
ParticipantI think the problem is the transparent background on the mobile application. It shows over the text of the page.
If I use your code above, where would I style the menu for the rest of the options? Tablet, phone etc.
Can we do something where it is transparent on desktop, but has a background on everything else?
March 29, 2026 at 23:46 UTC - Views: 56 #76603ROBIN
ParticipantAlso can you tell me why it isn’t working on Microsoft edge?
March 30, 2026 at 00:27 UTC - Views: 54 #76604scrambler
Moderatoryou can use the rule below to change the background color on mobile
.is-mobile .wvrx-default-menu.wvrx-menu-container{
background-color: white;
}Regarding Edge, You must be having some caching issues, because on edge the rule is not there, and neither is the setting for transparent background
April 2, 2026 at 12:56 UTC - Views: 48 #76613ROBIN
ParticipantIs there a way to change the menu link color on specific pages? This client is really putting me through my paces.
Thank you for all your help
April 2, 2026 at 17:06 UTC - Views: 46 #76614scrambler
ModeratorLe menu link color rules are below
.menu-primary .wvrx-menu>li>a {
color: #000
}.menu-primary .wvrx-menu>li>a:hover {
color: #000000 !important
}The Easiest way to change it on a per page basis is to add these rules with a different color code in the Page Editing page > Xtreme options for this page > Xtreme Plus > Per page style box
You can also add these rules to the Global custom CSS rule box adding the page selector at the beginning of each rule.
.page-id-xx .menu-primary .wvrx-menu>li>a {
color: #000
}.page-id-xx .menu-primary .wvrx-menu>li>a:hover {
color: #000000 !important
}April 2, 2026 at 21:27 UTC - Views: 45 #76615ROBIN
ParticipantMe Again.
When I look at the site on Mobile the white menu area is now covering up the header image. Is there anyway for the background to be transparent until they click the hamburger menu, then the menu bar opens up with a white background?
I appreciate you. This really has me perplexed.
April 2, 2026 at 21:32 UTC - Views: 41 #76616scrambler
ModeratorThis should do it
.is-mobile .wvrx-default-menu.wvrx-menu-container {
background-color: #fff0
}April 2, 2026 at 21:46 UTC - Views: 39 #76617ROBIN
ParticipantNow it just stays transparent. Can you take another look?
April 3, 2026 at 03:43 UTC - Views: 37 #76618scrambler
ModeratorWhere did you put it, because the rule is not there.
Make sure you do not have a syntax error in the rule or in the rules before it that would break the CSS file
You can also try
.is-mobile .wvrx-default-menu.wvrx-menu-container {
background-color: transparent !important;
}April 3, 2026 at 16:52 UTC - Views: 33 #76620ROBIN
ParticipantI put these at the top of the coding so nothing would break it below:
#nav-primary {
position: absolute;
top: 20px;
width: 100%;
z-index: 9999; /* This is the important part */
background: transparent; /* or whatever your design uses */
}.is-mobile .wvrx-default-menu.wvrx-menu-container {
background-color: #ffffff !important;
}It puts a white menu area all the way across the page, even before you click the hamburger which looks really bad.
Thoughts?
-
AuthorPosts
- You must be logged in to reply to this topic.

