Thread: CSS Buttons

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Sep 2005
    Posts
    26
    Plugin Contributions
    1

    Default Re: CSS Buttons

    Now Im excited. 3 posts in a day. The answer for IE was to have the CSS reference to the external file (in the URL() statment) to be fully qualified: In the buttons CSS, the background image statement needed to be:

    background-image: url(http://www.sitename.com/store/includ...ckground.gif);

    ('st' is my template name.) I suspect, if anyone is just doing the two state background image button idea, they will probably come into the same problem as I. Shall I pass this on to someone for correction in a future release? I suspect only removing the input:focus in the main css to be a separate definition, with nothing defined on it would be enough.

    Last edited by theodin; 15 Jul 2006 at 08:09 PM. Reason: correction

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

    Default Re: CSS Buttons

    Thanks for posting your findings. I am not aware of what things the statement that you have removed cover. As long as there are not other functions that do not display correctly this should be fine. You can pass this to the Dev Team maybe via the bug forum.

  3. #13
    Join Date
    Sep 2005
    Posts
    26
    Plugin Contributions
    1

    Default Re: CSS Buttons

    The total source file changes that I needed to prevent the background gif file disappearning on click, was to change:

    IN STYLESHEET.CSS CHANGE:

    input:focus, select:focus, textarea:focus {
    background: #F0F8FF;
    }

    TO:

    select:focus, textarea:focus {
    background: #F0F8FF;
    }

    Sorry my posts are wordy... anyway, thanks for your interest and help...

  4. #14
    Join Date
    Dec 2009
    Location
    Bath, UK
    Posts
    8
    Plugin Contributions
    0

    Default Re: CSS Buttons

    Quote Originally Posted by theodin View Post

    The answer is that there was an overriding statement in stylesheet.css:

    input:focus, select:focus, textarea:focus {
    background: #F0F8FF;
    }

    GRRRR! But an answer. I took this out, and my buttony backgrounds dont disappear. YAY. I will finish messing and post my final code here.

    Thanks SO much for this post, theodin!
    I'm not using CSS buttons but transparent gifs (white text and images) on a blackish picture background. I was getting the frustrating problem of everytime a user clicked on them they would turn white-ish as the user was being taken to another page.
    Not good!
    But your post helped me out - I have commented out the offending stylesheet code and now no more mucky white buttons when I click then

    Thanks again

    Laura

  5. #15
    Join Date
    Feb 2006
    Location
    NM
    Posts
    750
    Plugin Contributions
    1

    Default Re: CSS Buttons

    Me too...can't believe it was that easy! Thanks!

    Just in case this screws something up...please some zen expert let us know.

 

 
Page 2 of 2 FirstFirst 12

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 not fully working for some buttons in my shopping_cart page
    By chasery in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 13 Apr 2010, 07:37 PM
  4. Using CSS Buttons yet still see graphic buttons on some pages
    By newbie73 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Jul 2007, 12:51 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