Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2008
    Posts
    332
    Plugin Contributions
    0

    Default Change background color of Add to cart

    Hello!

    I'm hoping someone would guide me as to which file I should go into and what to change if I want to the background color of the add to cart box to change? Please see attachment, it is currently white, I want to change this to some other color to stand out. I would like to retain the add to cart button as it is...white.

    Thanks for your help!
    Attached Images Attached Images  

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Change background color of Add to cart

    Look for:-

    #cartAdd {

    in stylesheet.css

    Then add a background colour to the style-set.

    PS: I did this to mine and it looks quite cool
    PHP Code:
    #cartAdd {
            
    floatright;
            
    text-aligncenter;
            
    margin-top1em;
            
    margin-right1em;
            
    margin-bottom1em;
            
    margin-left1em;
            
    background-color#f7d4db;
            
    border-top-width2px;
            
    border-right-width2px;
            
    border-bottom-width2px;
            
    border-left-width2px;
            
    border-top-styledotted;
            
    border-right-styledotted;
            
    border-bottom-styledotted;
            
    border-left-styledotted;
            
    border-top-color#698da5;
            
    border-right-color#698da5;
            
    border-bottom-color#698da5;
            
    border-left-color#698da5;
            
    padding-top1em;
            
    padding-right1em;
            
    padding-bottom1em;
            
    padding-left1em;
            } 
    20 years a Zencart User

  3. #3
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Re: Change background color of Add to cart

    Quote Originally Posted by schoolboy View Post
    Look for:-

    #cartAdd {

    in stylesheet.css

    Then add a background colour to the style-set.

    PS: I did this to mine and it looks quite cool
    [PHP]


    Your right.. I just did this on my tets site, and it does look good.! Nice one.

 

 

Similar Threads

  1. v150 change background color for cart box
    By peeterslowie in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Mar 2012, 11:32 AM
  2. Change Shopping Cart Background Color
    By choppervon in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 19 Oct 2009, 09:42 PM
  3. Change background color in shopping cart
    By HandcraftedUK in forum General Questions
    Replies: 1
    Last Post: 29 Oct 2007, 05:02 PM
  4. Change Sidebox Add-on Background Color (manufacturers.php)
    By MeltDown in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 May 2007, 05:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg