background image made content too close to edge
-
I added a background image and then the text is running into the edge. So I added padding to the main wrapper. Now the Slider is indented by the same amount I added padding.
body {
/* Adjust the Image location ‘wp-content/uploads/2014/03/back.png’ */background: url(/wp-content/uploads/2014/03/back.png) repeat 0 0 ;
}/* Set the color (#FAFAFA) of the internal body */
#main-wrapper {
background-color: #FAFAFA;
margin-top: 0px ;
margin-bottom: 0px;
}header.tc-header {
/* Adjust the Image location ‘wp-content/uploads/back.png’ */
background: url(/wp-content/uploads/2014/03/back.png) repeat 0 0;
}footer#footer .colophon {
/* Adjust the Image location ‘wp-content/uploads/back.png’ */
background: url(/wp-content/uploads/2014/03/back.png) repeat 0 0;
}#main-wrapper {padding: 10px 20px 10px 20px;}
I tried adding this code and tried several other things and can’t get the slider to be the same with as the content.
#customizr-slider {padding: 0 -20px 0 -20px;}
- The topic ‘background image made content too close to edge’ is closed to new replies.