• Resolved brianpalmer

    (@brianpalmer)


    Hi, I’m using the available search widget (not the woo-search that comes with bueno), but for the life of me can’t seem to get the text “Search” into the search bar. I’ve tried many options I found online, but none seem to work. If anyone could help I would greatly appreciate it!

    Thanks,
    Brian

    Here’s my blog: http://saturnscene.com/saturnscene

Viewing 5 replies - 1 through 5 (of 5 total)
  • Have you tried editing the theme’s searchform.php template file?

    try jQuery:

    $(document).ready(function(){
      $("input#s").val("Search");
    });
    Thread Starter brianpalmer

    (@brianpalmer)

    I have tried editing the searchform. This is what I have in there currently:

    [Code moderated as per the Forum Rules. Please use the pastebin or post small code snippets between backticks.]

    rsirotheau, where do I find that jquery?

    In this case, I think jQuery is not necessary, try this:

    change the value="<?php _e('Search', 'woothemes'); ?>" (before the </form>) to value="Search..."

    If it still doesn’t work, I’ll help if jQuery, but that’s probably unnecessary…

    Thread Starter brianpalmer

    (@brianpalmer)

    I looked up the jquery and came across the enhanced search box plugin that allowed me to fix it. Thanks risir!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding text to search bar in bueno’ is closed to new replies.