Header background color and full width
-
Hi,
I am trying to add a different background image to each page. I want it to cover the footer (transparent footer as it is) but not the header. So I tried changing the header’s color but soon found out that it had margins (so the color doesn’t cover the extremities).
The .site-header has the following css:
max-width: var(--responsive--alignwide-width);
which if I turn it off the header takes the full width. But then I need some padding so that the logo and the menu icon dont stay ‘glued’ to the left and right edges. And probably a responsive to screen size padding? So I tried this:.site-header { background-color: white; padding-left: 10vw; padding-right: 10vw; max-width: none; }
It seems to work, but I fear ‘breaking’ some rules of responsiveness or something else. Can you advise me on this or let me know if there is a simpler solution?
kind regards
RodThe page I need help with: [log in to see the link]
- The topic ‘Header background color and full width’ is closed to new replies.