Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2010
    Posts
    114
    Plugin Contributions
    0

    Default How to enlarge search box mainnav?

    I enlarged the text, now how to enlarge the box.

    I want to enlarge the search box so that the enlarged text does not get cut off.

    Where is this defined?

    Thanks!

  2. #2
    Join Date
    Nov 2010
    Posts
    114
    Plugin Contributions
    0

    Default Re: How to enlarge search box mainnav

    It appears the Search "button" may be an image. Searched all the image folders and did not find anything defined as search button. using 1.3.9h

    Still looking.

  3. #3
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: How to enlarge search box mainnav

    Make a copy of your tpl_search_header.php file in the sideboxes of the default_templates

    Paste it in the includes/templates/YOUR_TEMPLATE/sideboxes folder

    Change line 19 at the beginning of the line

    $content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" style="width: 100px" value="'

    with

    $content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" id="searchTop" value="'

    Add to your stylesheet

    input#searchTop {
    width: 120px;
    height: 2em;
    }

    Height, and width according to your needs

  4. #4
    Join Date
    Nov 2010
    Posts
    114
    Plugin Contributions
    0

    Default Re: How to enlarge search box mainnav

    That worked great for the keyword search box. Thank you!

    I am still confused on the search "button"

    I am close but the references to "image" in the php search make me think there should be an image of the button somewhere.

    Not true?

    if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes')

    (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON);

  5. #5
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: How to enlarge search box mainnav

    Can you give a link to the site please?

  6. #6
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: How to enlarge search box mainnav

    In the meantime you can look here:
    http://www.zen-cart.com/forum/showthread.php?t=172249

  7. #7
    Join Date
    Nov 2010
    Posts
    114
    Plugin Contributions
    0

    Default Re: How to enlarge search box mainnav

    version 1.3.9h

    http: //www.naicsfurniture.com

    Thanks!

  8. #8
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: How to enlarge search box mainnav

    Check the link on my post #6.

  9. #9
    Join Date
    Sep 2007
    Posts
    178
    Plugin Contributions
    0

    Default Re: How to enlarge search box mainnav?

    Doesn't look like you are using CSS Buttons. Try looking at :
    includes/templates/YOUR_TEMPLATE/sideboxes/tpl_search_header.php

    For mine, it was on line 19. Look for style="width: 75px" and change as needed.

    Hope this is what you are looking for...

 

 

Similar Threads

  1. v150 How do I move my header search box!!!
    By Darion in forum General Questions
    Replies: 1
    Last Post: 21 Sep 2012, 11:13 AM
  2. search box text how do i remove it ??????
    By chrisb in forum General Questions
    Replies: 9
    Last Post: 15 Apr 2011, 05:40 AM
  3. search box writing in how do u remove it
    By chrisb in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Feb 2008, 07:01 AM

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