Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2011
    Posts
    168
    Plugin Contributions
    0

    Default How to change the button width that in the INPUT element when the css button is used?

    Almost all the buttons in INPUT element have a inline style "width: 80px;" when the css button was selected. The follow infro. was copied from firebug:

    <input class="cssButton button_search" type="submit" style="width: 80px;".....

    I don't know where should I go to change it. Is anybody can help?

    Thanks

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: How to change the button width that in the INPUT element when the css button is u

    Quote Originally Posted by su35 View Post
    Almost all the buttons in INPUT element have a inline style "width: 80px;" when the css button was selected. The follow infro. was copied from firebug:

    <input class="cssButton button_search" type="submit" style="width: 80px;".....

    I don't know where should I go to change it. Is anybody can help?

    Thanks
    Do a search in your stylesheet.css for cssButton button_search

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,489
    Plugin Contributions
    88

    Default Re: How to change the button width that in the INPUT element when the css button is u

    The width="80px" portion of the input tag is generated by the zenCssButton function present in /includes/functions/html_output.php. The default Zen Cart CSS button processing enforces a minimum width of 80px for all the buttons.

    You might also try my CSS3 Buttons for Zen Cart plugin.

  4. #4
    Join Date
    Oct 2011
    Posts
    168
    Plugin Contributions
    0

    Default Re: How to change the button width that in the INPUT element when the css button is u

    I got it. Thanks

 

 

Similar Threads

  1. v138a How can I find the CSS file and which line of the element?
    By fanisme in forum General Questions
    Replies: 2
    Last Post: 24 Mar 2013, 06:40 PM
  2. How can I make the Header Search button be a CSS button?
    By makehveli in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Aug 2011, 03:01 AM
  3. how do i change the position of the add to cart button ?
    By what44 in forum Templates, Stylesheets, Page Layout
    Replies: 39
    Last Post: 11 Feb 2011, 05:32 PM
  4. how can I expand the width of the search field amd search button?
    By watzursn in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 29 Sep 2009, 09:22 PM
  5. How do i change the size of the search button at the top?
    By lenswipe in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Jul 2009, 06:44 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR