ThemeShaper Forums » Thematic


Search box to long

(4 posts)
  • Started 10 years ago by RP
  • Latest reply from Jonny Janiero
  • This topic is resolved


  1. I am usin the Thematic Poer Blog child theme and the only thing I can't find how to change is the Search box - it apears too long width-wise, below crown on rhs on my blog. What file do I have to access to change this?

    Thanks in advance


    Posted 10 years ago #
  2. here is the filter for changing the search box size. the 2nd size (in this case size="25" will be the new size (which in turn equals width)

    drop it into your child theme's functions.php

    //change search input size
    function child_search_widget($search_form) {
    	$search_form = str_replace('size="32"', 'size="25"' , $search_form);
    	return $search_form;
    add_filter('thematic_search_form', 'child_search_widget');
    Posted 10 years ago #
  3. Many thanks helgatheviking, it works a treat!
    (I even managed to type correctly this time ;)


    Posted 10 years ago #
  4. glad you find a solution. please mark this post as resolved

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.