Home › Forums › Other › Apply background image just on homepage [WP] › Re: Apply background image just on homepage [WP]
January 21, 2013 at 8:52 am
#121742
Melindrea
Participant
Depending on which page you are on, the body will have different classes, assuming your WordPress Theme calls the function body_class.
The homepage has the class “home”, so you can use that to target the div, since my understanding of your question means that you don’t have other ways to differentiate this div from others.