Adding Background

by Melvin Ram

To add a background to your website, here is the code you’ll want to add to your custom.css

body.custom{
 background-image: url(images/background.jpg);
 background-position: top center;
 background-attachment: fixed;
 background-color: black;
}

Now if you want to hide the background of the content area, you’ll need to also add the following into your custom.css file:

#page{
 background: none !important;
}

Leave a Comment

Spam Protection by WP-SpamFree

Previous post: