Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8814

    I want to change the background color for the table on the cart. It seems to be exactly linked up to the color selected by the theme. I’ve tried adding a background color to the table.shop_table th but it keeps getting overridden. Can you help me out? Thanks

    #62559

    Hey,

    you can change the color with following code:

    .shop_table.cart .product-name{
    background-color: #333 !important;
    }

    .shop_table.cart .product-quantity{
    background-color: #333 !important;
    }

    You can change the color value :)

    #62560

    How do you change the background/font colour for ‘Order Total’? How do you edit the Cart page in general, as in the look of it?

    #62561

    I’d suggest to use plugins like: https://addons.mozilla.org/de/firefox/addon/firebug/ (or if you’re using Chrome you can use the inbuild dev tools). Then hover over the element you’d like to style to find the correct code. I’d add any additional code to css/custom.css. You can change the “order total” color with following code:

    .cart-collaterals .cart_totals th{
    color: #333;
    background-color: #fff;
    }

    .cart-collaterals .cart_totals td{
    color: #333;
    background-color: #fff;
    }

    Obviously you can change the color values :)

    #62562

    OMG!

    Thank you SO SO much for that ‘FireBug’ advice, Dude – anyone dealing with editing WP themes should be using it – amazing! Didn’t even know it exsisted and now I couldn’t do without it.

    Might I suggest you make a post (sticky maybe?) letting people know about the FireBug plugin, as then people will have access to a very powerful tool in order for them to help themselves with some elements of the theme editing, instead of pestering you guys all the time for help!

    Thanks again, Dude!

    #62563

    This is great but the product name and product quantity sections below have the background color as well. I’m hoping to change the top table and keep the cart contents with it’s white background still. Can you help me out? Thank you.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Change background color on cart page for "PRODUCT NAME", "UNIT PRICE", etc..’ is closed to new replies.