How to change header & footer to full width? [closed]
IT Nursery
May 29, 2022
0
I’m using the Skeleton theme on this website.
What I’d like to do is have the header & footer to “fill” all horizontal space of the screen, while having the main content staying as is.
I’ve looked at several other threads, but I couldn’t manage to make my way to the solution with the Skeleton theme.
1 Answer 1
There are many ways to achieve this.
First of all, right now all your content (including the header and footer) are inside a .container with a width of 960px. You cannot get these div’s to be 100% in width when they are inside this container. So what you need to is to change your code by moving the header and footer outside of the container. I’ve created a sample here.