Support » Themes and Templates » Different background for store page without id

  • I am trying to come up with a solution for this store page:

    http://www.nashvillevapor.com/site/products-page/all-items/

    The all items page stretches down well past the background. We tried tiling it and it just doesn’t look good with a big line through it. So, our next idea is to just snatch one of the colors out of the background and make that the background for this one page since it is the only one with this problem. Being a store page though, there is no page id.

    Suggestions?

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    (@esmi)

    Forum Moderator

    Try using one of the classes generated by the body_class() function.

    Thanks!

    Here is the body_class function for the page:

    body class="archive tax-wpsc_product_category term-all-items term-15 logged-in admin-bar"

    Not sure where I’m going from there though.

    What would the rule to change it to a #EEC878 color?

    esmi

    (@esmi)

    Forum Moderator

    Try .tax-wpsc_product_category.

    I did this:

    .tax-wpsc_product_category{
    background-color:#DBB673;
    }

    It definitely changed the color that was what to the specified color, but the background from all of the other pages is still in place.

    Any ideas?

    Thanks for your help!

    Any update on this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Different background for store page without id’ is closed to new replies.