Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1

    Default Search button width

    I want the Search button to read "Search UnitedGraphix" as I'm looking for complete branding of my site's name ... The button is so small that it only shows "Search U" ... How do I increase it's width ?

  2. #2
    Join Date
    Jul 2007
    Posts
    138
    Plugin Contributions
    0

    Default Re: Search button width

    Quote Originally Posted by pulkit View Post
    I want the Search button to read "Search UnitedGraphix" as I'm looking for complete branding of my site's name ... The button is so small that it only shows "Search U" ... How do I increase it's width ?
    hi
    jus try thsi ......

    search in your stylesheet.css

    FORM, SELECT, INPUT {
    display: inline;
    font-size: 1em;
    margin: 0.1em;


    }

    add

    width: 100px; or wat ever witdh u want 2 give

  3. #3

    Default Re: Search button width

    Quote Originally Posted by lastpirate007 View Post
    hi
    jus try thsi ......

    search in your stylesheet.css

    FORM, SELECT, INPUT {
    display: inline;
    font-size: 1em;
    margin: 0.1em;


    }

    add

    width: 100px; or wat ever witdh u want 2 give
    cool ... now I just have to find the file ...

  4. #4
    Join Date
    Mar 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: Search button width

    Where do you change the actual text in the Search button?

    Michael

  5. #5
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Search button width

    Quote Originally Posted by countrycupboard View Post
    Where do you change the actual text in the Search button?

    Michael
    /includes/languages/english/nameofyourtemplate/header.php

  6. #6
    Join Date
    Mar 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: Search button width

    Misty,

    I have looked and looked through the file. Somehow I must have edited a line and messed up some syntax in a line, because my button says "HEADER" instead of "Submit". Any idea where in the file the button is getting the text "HEADER". BTW, it may say more than just HEADER, but that's all the room there is to display on the button.

  7. #7
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Search button width

    Quote Originally Posted by countrycupboard View Post
    Misty,

    I have looked and looked through the file. Somehow I must have edited a line and messed up some syntax in a line, because my button says "HEADER" instead of "Submit". Any idea where in the file the button is getting the text "HEADER". BTW, it may say more than just HEADER, but that's all the room there is to display on the button.
    Can you post here, content of this file
    /includes/languages/english/nameofyourtemplate/header.php
    and give an url where can view your zencart site?

  8. #8
    Join Date
    Mar 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: Search button width

    Site is not up yet -- Here's the header file
    Attached Files Attached Files

  9. #9
    Join Date
    Mar 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: Search button width

    We're working on replacing our current non-zenned site at www.acountrycupboard.com with a zen version. Here's a link to the one in progress - http://shoppingcart.acountrycupboard.com/zencart/

  10. #10
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Search button width

    header.php file is missing line of code
    your file shows
    define('HEADER_SEARCH_DEFAULT_TEXT','Enter keywords here');
    #logo {float: right;}//REMOVE
    should be
    // header Search Button/Box Search Button
    define('HEADER_SEARCH_BUTTON','Search');
    define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here');
    Code marked red in your header.php should NOT be there..remove it

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Alter search button (css) width
    By mi16chap in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Jun 2012, 03:18 PM
  2. Replies: 7
    Last Post: 5 May 2011, 02:13 AM
  3. Search Button Width
    By MortalWombat in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Dec 2010, 04:42 AM
  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. Increase search button width
    By soki in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Aug 2008, 11:06 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