WordPress.org

Ready to get started?Download WordPress

Forums

Different background for store page without id (6 posts)

  1. handshake
    Member
    Posted 3 years ago #

    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?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

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

  3. handshake
    Member
    Posted 3 years ago #

    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?

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Try .tax-wpsc_product_category.

  5. handshake
    Member
    Posted 3 years ago #

    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!

  6. handshake
    Member
    Posted 3 years ago #

    Any update on this?

Topic Closed

This topic has been closed to new replies.

About this Topic