Different Background Images
Hi I use Vantage theme (not the premium version)
Can I also change the background of only one special page. I tried the custom css and tried to figure out in the .css stylesheet file. However I am new here and not (yet) familiar with coding.
My postid = 138
.postid-138 #main {
background-image: url(“background url link from my image library”);
}
This doesn’t work. Does this not work due to the normal version of Vantage? Thank you guys a bunch for this awesome theme and support btw.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
3I am looking forward to your reply.
Hi Newuser
Please remember to put your Custom CSS edits under Appearance > Custom CSS (Vantage Premium) or in your own Custom CSS plugin for Vantage Free. Any changes made directly to style.css will be lost during theme updates.
It sounds like you’re pretty close, try something like this:
/* Background Images */ body.postid-138 { background-image: url('http://myimageurltakenfromthemedialibrary.jpg'); }When you navigate to the image in the Media Library, click on it and grab the url from the right column grey metabox, it’s listed there.
You can also add a background repeat property as follows:
http://www.w3schools.com/cssref/pr_background-repeat.asp
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.