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
Printable View
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
A link to the site would help a lot.
oops, here it is
http://myfamilycoloringbook.com/shop...r_of_uploads=0
you might hunt it down by this:
Quote:
admin panel/ tools/ developers tool kit
search for: style="width: 20px"
Thanks, that is the weird part it pulls up nothing when i search for width: 20px
Take a look here:
Quote:
includes/ templates/ override folder/ sideboxes/ tpl_search_header.php
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>';
That's column_width 'minus' 30px, so if you want the input box bigger, make the 30 smaller.
bingo, thanks