Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Need to enlarge input boxes

    I was editing some things and something I did made my search box and email signup box very small. I have tried to figure out how to make it wider but am not sure how to edit the "inline style"

    any ideas?

    thanks

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Need to enlarge input boxes

    A link to the site would help a lot.

  3. #3
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Need to enlarge input boxes


  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Need to enlarge input boxes

    you might hunt it down by this:
    admin panel/ tools/ developers tool kit
    search for: style="width: 20px"
    Mark
    Hare Do

  5. #5
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Need to enlarge input boxes

    Thanks, that is the weird part it pulls up nothing when i search for width: 20px

  6. #6
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Need to enlarge input boxes

    Take a look here:
    includes/ templates/ override folder/ sideboxes/ tpl_search_header.php
    Mark
    Hare Do

  7. #7
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Need to enlarge input boxes

    Thanks I did try that. I changed the value that was there (30) to 50 and it actually made it worse. I think the issue might be something in the stylesheet though. The sidebox I am using is search but you will notice that the same problem also shows up on the newsletter signup....

    here is the code from my search sidebox

    Code:
      if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') {
        $content .= zen_draw_input_field('keyword', '', 'size="60" maxlength="100" style="width: ' . ($column_width-50) . 'px"') . '<br />' . zen_image_submit (BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON);
        $content .= '<br /><a href="' . zen_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a>';
      } else {
        $content .= zen_draw_input_field('keyword', '', 'size="60" maxlength="100" style="width: ' . ($column_width-50) . 'px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == \'' . HEADER_SEARCH_DEFAULT_TEXT . '\') this.value = \'\';" onblur="if (this.value == \'\') this.value = \'' . HEADER_SEARCH_DEFAULT_TEXT . '\';"') . '<br /><input type="submit" value="' . HEADER_SEARCH_BUTTON . '" style="width: 50px" />';
        $content .= '<br /><a href="' . zen_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a>';

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Need to enlarge input boxes

    That's column_width 'minus' 30px, so if you want the input box bigger, make the 30 smaller.

  9. #9
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Need to enlarge input boxes

    bingo, thanks

 

 

Similar Threads

  1. Adding custom input boxes
    By Hiber in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 9 Apr 2010, 09:22 AM
  2. CSS Help! Input Boxes
    By kburner in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 13 Jan 2009, 04:21 AM
  3. enlarge the option name and option value boxes in Attributes
    By stevenlee in forum Customization from the Admin
    Replies: 10
    Last Post: 16 Aug 2008, 02:16 AM
  4. login page input boxes maxlength = 0 or 1
    By styol in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 17 Mar 2007, 02:34 PM
  5. Increase Size of Input Boxes
    By jacque427 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Mar 2007, 09:47 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