How to display a css style only on home page?

Tagged: 

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeHow to display a css style only on home page?

This topic has been marked as not resolved.

I’m trying to have a background image only appear in the #content div on the home page. However, it appears throughout the site. Is there a way to display a css style only on the home page (or another chosen page) and not anywhere else?

for example, I want this background image only on the content div on the home page, but nowhere else:

#content{
background: url(“http://localhost/opencart/catalog/view/theme/shoppica2/images/img06.jpg&#8221 ;) ;
background-repeat: repeat-x;
width: 100%;
}

Any ideas on how to do this?

April 19, 2013 at 9:50 pm #22299
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
April 22, 2013 at 5:03 pm #22401
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.