Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jul 2005
    Posts
    97
    Plugin Contributions
    0

    Search Field without the "Search Button" in the header

    I want the search textfield, but not the search button, so that people will use the "Enter" key to execute the search...

    How can I achieve this? This is my site: http://www.nokoria.com


    Thank you.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: Search Field without the "Search Button" in the header

    quickest way is to add
    .button_search {
    display: none;
    }
    to the bottom of stylesheet_original.css

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Search Field without the "Search Button" in the header

    umm ... are customers smart enough to hit the enter key?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: Search Field without the "Search Button" in the header

    BTW...
    Your buttons CSS has a comma after .button_next on line 34 that throws an error.

  5. #5
    Join Date
    Jul 2005
    Posts
    97
    Plugin Contributions
    0

    Default Re: Search Field without the "Search Button" in the header

    Quote Originally Posted by dbltoe
    quickest way is to addto the bottom of stylesheet_original.css
    It works...

    Thank you for the super fast respond...

  6. #6
    Join Date
    Jul 2005
    Posts
    97
    Plugin Contributions
    0

    Default Re: Search Field without the "Search Button" in the header

    Quote Originally Posted by Ajeh
    umm ... are customers smart enough to hit the enter key?

    Haha, I hope so...

    The search button is not align with the textfiled, that's why I want to get rid of it... It looks simpler without that...

  7. #7
    Join Date
    Jul 2005
    Posts
    97
    Plugin Contributions
    0

    Default Re: Search Field without the "Search Button" in the header

    Quote Originally Posted by dbltoe
    BTW...
    Your buttons CSS has a comma after .button_next on line 34 that throws an error.

    Wow... thank you again for catching that.

  8. #8
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: Search Field without the "Search Button" in the header

    Quote Originally Posted by gems14k
    Haha, I hope so...

    The search button is not align with the textfiled, that's why I want to get rid of it... It looks simpler without that...
    You can re-position the button using css, although exactly how you do it will depend on whether you are using image buttons or css buttons.
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

  9. #9
    Join Date
    Oct 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Search Field without the "Search Button" in the header

    Quote Originally Posted by dbltoe View Post
    quickest way is to addto the bottom of stylesheet_original.css


    Hi there,

    Forgive my confusion, but what and where is stylesheet_original.css?

    Cheers for any help!

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,133
    Plugin Contributions
    11

    Default Re: Search Field without the "Search Button" in the header

    subb,

    Depending on your version of Zen-Cart, you may not have that stylesheet.

    You should be using your own template or the override system that would be in includes/templates/YOURTEMPLATE/css.

    If you are using the classic template from an older version, it would be in includes/templates/classic/css.

    Get a copy of TopStyle Lite and firefox with the web developer's extension to help with stylesheet editing.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 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
  2. Replies: 0
    Last Post: 27 May 2009, 06:59 PM
  3. Renaming the "Item Name" header in search results.
    By stick in forum Basic Configuration
    Replies: 1
    Last Post: 3 Oct 2008, 01:15 PM
  4. Need to put "search help?" into the search sidebox
    By jeffmic in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 30 Nov 2006, 11:32 AM
  5. Removing the "search" entirely in the header
    By pilot in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Jul 2006, 04:14 PM

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