*** SOLVED *** Width of Background CssMenu

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
presto
 
 
Posts: 138
Joined: Tue Aug 24, 2010 5:19 pm
Contact:

*** SOLVED *** Width of Background CssMenu

Post by presto »

I have a page set to "center horizontally" with a non-responsive horizontal CSS Menu that is set to "Enable Affix", "Use hover style" and "Enable Scrollspy". How can I set the background of the Menu to width: 100% ?
Last edited by presto on Tue Aug 17, 2021 1:20 pm, edited 2 times in total.
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Width of Background CssMenu

Post by Pablo »

The menu can only 100% when it's inside a layout grid.
Howevrr, in that case you cannot use 'affix'.
presto
 
 
Posts: 138
Joined: Tue Aug 24, 2010 5:19 pm
Contact:

*** SOLVED *** Width of Background CssMenu

Post by presto »

This is my solution:

<style>
#wb_CssMenu1 {
width:100%!important;

#wb_CssMenu1.affix {
left:0px!important;
margin-left:0px!important;
}
</style>

You can see it here: https://www.petra-orth.de Just scroll down or click one of the menu buttons.
Post Reply