Page 7 of 16 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 159
  1. #61
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: CSS buttons v2.x

    Thanks Paul

    A fixed version (2.61) is attached to this post, including your new admin stylesheet (added to extras/ folder) and some minor readme changes (to extras/css_hack.txt).

    2.60 users only need to fix the typo, as explained by funky
    Last edited by paulm; 3 Jul 2007 at 01:19 PM.

  2. #62
    Join Date
    May 2007
    Posts
    38
    Plugin Contributions
    0

    Default Re: CSS buttons v2.x

    Hi,

    perhaps this is easy for you cracks?!

    During installation of this cssbuttons.sql I got the following MySQL-Error:

    INSERT INTO `configuration_group`
    VALUES ( NULL , 'CSS Buttons', 'The settings for the CSS buttons are stored here (please also enable "admin :: Configuration :: Layout Settings :: CSS Buttons", else the search buttons will not be converted to css buttons).', @sortorder +1, 1
    );

    MySQL notices:
    #1136 - Column count doesn't match value count at row 1

    I think it is due to line 1 in the cssbuttons.sql:

    SELECT @sortorder:=max(sort_order)
    FROM configuration_group;

    INSERT INTO `configuration_group` VALUES (NULL , 'CSS Buttons', 'The settings for the CSS buttons are stored here (please also enable "admin :: Configuration :: Layout Settings :: CSS Buttons", else the search buttons will not be converted to css buttons).', @sortorder+1, 1);
    SELECT @cssbuttonsid:=max(configuration_group_id)
    FROM configuration_group;

    What should I change to fix this?

    Thanks in advance!

    Best regards,
    Miriam

  3. #63
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: CSS buttons v2.x

    Can you replace the first part (up to #SELECT @cssbuttonsid;) of the sql by this
    Code:
    # "CSS buttons advanced" settings
    # 2007/06/14
    # use the Zen sql patch tool, and copy and paste into the text area
    
    SELECT @sortorder:=max(sort_order)
    FROM configuration_group;
    
    INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible)
    VALUES (NULL , 'CSS Buttons', 'The settings for the CSS buttons are stored here (please also enable "admin :: Configuration :: Layout Settings :: CSS Buttons", else the search buttons will not be converted to css buttons).', @sortorder+1, 1);
    SELECT @cssbuttonsid:=max(configuration_group_id)
    FROM configuration_group;
    ?

    And tell me if it helps?

  4. #64
    Join Date
    Mar 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: CSS buttons v2.x

    Hi Paul,

    I'm a novice zenner and have successfully installed, configured and customised your CSS-buttons_v2.34 and am very happy with the result. Thanks for the many months of work you have put into this.

    The resulting CSS buttons are at www.clandonpottery.co.uk/Shop

    What I can't work out is the origin of the CSS button text for 8 of my 18 CSS buttons. These are:

    search. add selected item . tell a friend . refresh . add to basket . continue and confirm order.

    I simply want to put a capital letter at the start of each but just cannot find the source of these texts. Can you direct me?

    Also, I would like to substitute the DELETE button from the Shopping Cart for a CSS button but can't work out how to do this.

    Your suggestions appreciated.

    Regards,
    Peter

  5. #65
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: CSS buttons v2.x

    Something I totally overlooked is that it may be smart to replace the "<input />" buttons code by "<button></button>". It would probably offer better and more flexible cross browser compatible layout control.

    HTML <button> tag
    Definition and Usage

    Defines a push button. Inside a button element you can put content, like text or images. This is the difference between this element and buttons created with the input element.
    (source http://www.w3schools.com/tags/tag_button.asp)

  6. #66
    Join Date
    Sep 2007
    Posts
    14
    Plugin Contributions
    0

    help question Re: CSS buttons v2.x

    Hello,

    I wonder if this contribution is able to do roll-over image buttons.
    If yes, how to define them in the CSS?

    Thanks

  7. #67
    Join Date
    Oct 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: CSS buttons v2.x

    Is there a reason why the text on my form buttons isn't centered vertically.

    Here's one of my pages: http://excalibur.bc.ca/index.php?main_page=login

  8. #68
    Join Date
    Oct 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: CSS buttons v2.x

    Well I seem to have fixed it, I commented out:

    line-height: 20px;
    height: 20px;

    Now everything looks great. Is there a reason why I need those lines? Will I run into a problem somewhere else?

    Rob

  9. #69
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: CSS buttons v2.x

    Those lines were added to improve cross browser support in some cases (tested on IE6 and FF at the time). But if the size and alignment are OK now you can safely leave those lines commented out.

    When you change the font-size or want to change the button height or padding, you might need to uncomment and adjust those settings.

    (note that some buttons are links and others are inputs, both need to be checked)

  10. #70
    Join Date
    Oct 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: CSS buttons v2.x

    Thanks for the reply

    It was input buttons I was having problems with, the link buttons were OK. Seems to be another IE bug, everything was fine in Firefox.

    Rob

 

 
Page 7 of 16 FirstFirst ... 56789 ... LastLast

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