ThemeShaper Forums » Thematic

[closed]

Changing font style of sidebar / search text

(3 posts)
  • Started 9 years ago by mcdermos
  • Latest reply from helgatheviking
  • This topic is resolved
  1. I'm trying to change the text and font of our search bar in our blog but can't work out how to do it.

    Basically - how do I change the font.

    Where can I change the actual text from "search" to "search this blog"

    Thanks

    Posted 9 years ago #
  2. Check this post:
    http://forums.themeshaper.com/topic/changing-the-search-box-text#post-4899

    instead of "search_field_value", use "thematic_search_submit" and it should do it. I didn't test it but it should do it according to the widget-extension.php in the thematic code.

    Posted 9 years ago #
  3. That didn't quite work for me. I only got words there w/ no functionality. So to preserve the whole clickable nature of the box I had to do this:

    //Change search box text
    function childtheme_search_submit() {
    return '<input id="searchsubmit" name="searchsubmit" type="submit" value="' . __('Go', 'thematic') . '" tabindex="2" />';
    }
    
    add_filter('thematic_search_submit', 'childtheme_search_submit');

    With the 'Go' Being where you'd change the value you want on the button.

    Posted 8 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.