Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #12245 right now i have a custom background that has a blue strip going behind the slider and content area, but i just want this to show on the front page. How can i target the front page to add this background or a div that i could style for the same effect?



    Instead of using body, try using body.home. Here is an example:

    body.home {
    background-image: url(‘’);
    background-repeat: no-repeat;

    This code applies only to the body of the homepage. Hope this helps. :)




    Excellent! Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Adding background element only to homepage.’ is closed to new replies.