0

We're updating our website. We need the home page to basically have no background and we're loading images on them. You can see how this works in the images.

Current Home Page:

  • Has white background
  • Products page has white background

New Home Page:

  • Has no background

  • Products Page needs white background

I know it's a css thing, but can't seem to figure out what I need to do.

1
/* css rules for homepage */
body.cms-index-index {

}

/* css rules for category page */ 
body.catalog-category-view {

}

/* css rules for product page */
body.catalog-product-view {

}
  • Where would I add this? Bottom of css? – NKJWebteam Feb 25 '15 at 23:37
  • You can add it anywhere in css file. – SeStro Feb 25 '15 at 23:48
  • @NKJWebteam : If the answer helped you to resolve your issue, then feel free to accept this answer. You can accept this answer by ticking the mark that you can see in the left section of this answer. Thanks – Rajeev K Tomy Feb 26 '15 at 1:12
  • Did I mention that I love this place! – NKJWebteam Feb 26 '15 at 1:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.