Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Get rid of box around add to cart button

    Here's a tip to finding out what css you need to alter;

    Install the Firebug addon for Firefox. It lets you inspect a web page and will show you what line of CSS contains the properties you have selected.

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

    Default Re: Get rid of box around add to cart button

    In a standard ZC stylesheet, many of the elements that SHARE a declaration are "nested" together, as this can save a lot of space.

    So, it is not unusual to have to "split up" these nestings to give one particular class or id its own declaration.

    eg:

    Code:
    #firstItem, #secondItem, #thirdItem {
    border: 1px solid #cccccc;
    }
    In the above, ALL (#firstItem, #secondItem, #thirdItem) will have a solid border of 1px in color #cccccc .

    Let's say you want #secondItem to NOT have a border...

    Code:
    #firstItem, #thirdItem {
    border: 1px solid #cccccc;
    }
    
    #secondItem {
    border: none;
    }
    20 years a Zencart User

 

 

Similar Threads

  1. v150 Black border around 'Add to cart' button
    By dwsl2012 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Oct 2012, 10:00 AM
  2. Get Rid Of Border Around "Add to cart" button
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 22 Feb 2011, 11:59 PM
  3. Moving Add to Cart Button Around
    By ourcollegetown in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Jan 2009, 11:49 PM
  4. How to get rid of border around buy now button?
    By mcpisik in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 13 Jul 2007, 06:16 AM

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