Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2009
    Posts
    57
    Plugin Contributions
    0

    help question add to cart button in CSS

    for the life of me, I can't seem to change the size of the 'add to cart' button.
    I'm experimenting with the css buttons.

    I changed the default to
    Code:
     .button_in_cart{width:30em;}
    and it does nothing. I tried setting it in pixels, I tried all sorts of sizes.. no luck.

    If I look in firefox web developer, there is nothing setting the width other than that. It shows accurately whatever I've set .buttin_in_cart to

    I tried adding padding-left and padding-right, it seems to have no effect.
    I then looked at the #cartAdd box, which is its parent, and made it bigger. No luck.
    Can someone figure this out?

    What am I missing?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: add to cart button in CSS

    A link to your site
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2009
    Posts
    57
    Plugin Contributions
    0

    Default Re: add to cart button in CSS

    Quote Originally Posted by kobra View Post
    A link to your site
    Site is not visible yet, it's in development.
    here's a temporary link:
    http://216.172.185.9/~classic/index.php?main_page=

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: add to cart button in CSS


  5. #5
    Join Date
    Mar 2009
    Posts
    57
    Plugin Contributions
    0

    Default Re: add to cart button in CSS

    Quote Originally Posted by stevesh View Post
    That did it. Damn, so easy. Why couldn't I find that post?

    And.. why does it only work on the one button, and why wasn't it fixed?

    anyways, thanks for the quick find.

  6. #6
    Join Date
    Mar 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: add to cart button in CSS

    Quote Originally Posted by Luxifer View Post
    That did it. Damn, so easy. Why couldn't I find that post?

    And.. why does it only work on the one button, and why wasn't it fixed?

    anyways, thanks for the quick find.
    I am trying to make my add to cart button larger also, where you able just to change add to cart, or did you have to change all the buttons? If you did add to cart only, can you elaborate on how you did it?

    here is my website if needed:

    www.theblackweddingdress.com
    Last edited by labatts03; 18 Oct 2011 at 04:13 AM.

 

 

Similar Threads

  1. v151 Add To Cart displaying alt text instead of add to cart button
    By AquaticAddiction in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Feb 2014, 07:58 PM
  2. CSS Buttons - Change only the add to cart button to an image
    By ksookma in forum General Questions
    Replies: 1
    Last Post: 11 Oct 2011, 04:23 AM
  3. Change the Add to Cart button to Buy Now button
    By dastudio in forum Customization from the Admin
    Replies: 1
    Last Post: 24 Nov 2010, 09:44 PM
  4. CSS add to cart button and style
    By UHU2 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 9 Nov 2008, 02:34 PM
  5. CSS Element for Add to Cart CSS button?
    By modernm in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Jan 2008, 04:54 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