Page 1 of 1
*** SOLVED *** Width of Background CssMenu
Posted: Tue Aug 17, 2021 10:07 am
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% ?
Re: Width of Background CssMenu
Posted: Tue Aug 17, 2021 10:19 am
by Pablo
The menu can only 100% when it's inside a layout grid.
Howevrr, in that case you cannot use 'affix'.
*** SOLVED *** Width of Background CssMenu
Posted: Tue Aug 17, 2021 10:38 am
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.