Sticky banner is not full width
I have a problem with my sticky banner, it is not full width. There are like 20px left on each side. Do you know how to correct this problem? This is the website: http://ad-test.demo-website.nl
Thank you!
Kind Regards,
Marloes Verhofstadt
VisionArt
Comments
looks like it's due to your custom css. Please remove custom css responsible for header and then check.
I put some css in to align the menu to the center:
#Top_bar .menu_wrapper {
text-align: center;
width: 100%;
}
#Header .menu > li {
display: inline-block;
float: none;
}
#Top_bar .top_bar_left {
width: 100% !important;
}
This is the code that will center the menu, but it also triggers the sticky menu to not show properly.
Do you have a solution to align the menu and also show a proper working sticky menu?
#Top_bar:not(.is-sticky) .menu_wrapper {
text-align: center;
width: 100%;
}
#Header .menu > li {
display: inline-block;
float: none;
}
#Top_bar:not(.is-sticky) .top_bar_left {
width: 100% !important;
}
But it is not possible to align the sticky menu in the center?
The normal menu aligns in the center and the sticky menu at the left. I want both in the center.
Does that also have to do with css?
Thanks!
#Top_bar.is-sticky .menu_wrapper {text-align: center;
width: 90% !important;
}