Trouble with background color
-
Hello,
I am having an issue with the background color. I have done this:
html {
max-width: 1240px; /* set max width */
margin: 0 auto;
position: relative; /* Fix for absolute positioning */
}
/* change body color */
body {
background: green; /*set body background to green for test*/
}
#main-wrapper, header.tc-header, footer#footer .colophon {
background-color: #ffffff; /*set to white */
}The issue is the space between the header and the main-wrapper, where my slider lives, and also between the main-wrapper and footer. I am pretty sure the second is cause by margins, but thought I would ask to be safe.
Anyway, I would like everything inside the 1240px max-width from the top of the page to the bottom to have a background of white, while everything on the outside of it to be a separate color.
I am sure it is not clear so here is a link. It’s on free host while I test (learn), so if you get a popup ad, just hit refresh or back
https://melbourneactuary.net63.net/
Thanks
- The topic ‘Trouble with background color’ is closed to new replies.