Background Images Problem
-
Hello Everyone,
I have been working on my website and I am having issues switching out background images. The issue is that I have done an ID for every page ID in my CSS and I have switched out the images no problem on pages, for example:
body.home{
background-image:url(images/Farrowtone_BG_1.jpg);
background-color:black;
background-position: center top;
background-repeat: no-repeat;
color: #000000;
font-family:’Verdana’, Lucida Grande, Arial, Sans-Serif;
font-size: 12px;
margin: 0;
text-align: center;
vertical-align: top;
}
body.page-id-2{
background-image:url(images/Farrowtone_BG_2.jpg);
background-color:black;
background-position: center top;
background-repeat: no-repeat;
color: #000000;
font-family:’Verdana’, Lucida Grande, Arial, Sans-Serif;
font-size: 12px;
margin: 0;
text-align: center;
vertical-align: top;
}
Now the issue is that when I want my blog posts to be one image that is continuous, I was told to place the code as body.single, but that messes the other pages up. How do I keep my page ID images ok, but make the blog pages work without them affecting those other pages?
Will
- The topic ‘Background Images Problem’ is closed to new replies.