shortening search box size within widget?
-
Hi all,
We’re using the Search widget within the secondary text area of the website (using Catch Box free theme).
I’ve been asked to narrow the secondary column, which I’ve done through custom css. However, the actual search box is too big and bleeds off the right side of the widget.
Tried adjusting the size through additional custom CSS. However, while the padding comes through just fine, the width seems to be doing nothing. (The 10px width was just for testing purposes!)
#searchform { width:10px !important; text-align:center; margin-bottom: 3px; /* adjusts space below the widget entry*/ padding-bottom: 6px; /*adjusts space within each widget entry */ padding-left: 0px; /*adjusts space within each widget entry */ padding-right: 6px; /*adjusts space within each widget entry */ }
I checked the included widgets.php file within the wp-includes folder. However, I don’t see any kind of CSS to control its formatting.
Am I missing something, or is that hardcoded within the theme somewhere?
Thanks!
Robert
- The topic ‘shortening search box size within widget?’ is closed to new replies.