Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    86
    Plugin Contributions
    0

    Default CSS Buttons Width Setting

    Hi,
    I just upgraded our site from 1.3.7 and the other from 1.3.8 to the latest version, 1.3.9.
    I switched to the CSS buttons and most work very well.
    There are three problems that I cannot figure out:

    1; The "update cart" button is still using the picture, I don't know where to change that.
    2. The "Add Selected Products to Cart" button does not show the "t" on the end even after I changed the width of this button in the CSS Button Style Sheet.
    The source code shows the width:188px which I don't know where it comes from since the CSS Button Style Sheet have the width in "em" measurement.
    3. The same thing happening with the "Submit the Information" button, except the width is 143px.

    I tried to apply CSS Buttons in the old carts also and they did the same thing.
    Does anyone figured out where the pixel numbers are coming from.
    Please let me know if you would.

    Thank you Portrait Artist
    Our New Zen cart: www.EmbroideryPortraits.com/Gifts/
    www.vodmochka.com/Embroidery_Designs
    All critics and suggestions are welcome!

  2. #2
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: CSS Buttons Width Setting

    I switched to css buttons myself a couple of days ago and had the same problem with some buttons not displaying the full text. As you did, I also tried to increase the width in pixels of these buttons and it didn't work again.

    What worked for me (and I hope it will for you too) is that I set the width of the offending buttons to auto like this:

    .button_whatever {width:auto!important;}

    Don't ask me why it worked, but it did. Good luck to you and let us know what happened.

 

 

Similar Threads

  1. v151 Disable CSS buttons for some buttons and not others
    By longstockings in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 16 Nov 2013, 04:00 PM
  2. Help with using css buttons, "update cart' does not use the css buttons?
    By trinitypres in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jan 2011, 04:34 PM
  3. CSS buttons - why is width limited?
    By daymobrew in forum General Questions
    Replies: 2
    Last Post: 4 Apr 2009, 12:49 AM
  4. css buttons width - can't find where to adjust
    By cupcake in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 May 2007, 12:21 PM
  5. CSS Buttons and fixed width
    By CzechBoy in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 5 Sep 2006, 12: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