1
votes

I am using drupal 7's standard search box setup and was wondering how i would be able to change it and lose the actual search button. I am pretty new to using drupal so any kind of help or insight would be really helpful.

Here is the php code that I am using:

<?php print drupal_render(drupal_get_form('search_block_form')); ?>

and it currently comes out looking like this:

enter image description here

I was wondering if there was any kind of way to manipulate the code to make it drop the search button and perhaps add in a text to the search area grayed out.

Thank you!

1

1 Answers

1
votes

You can either add a placeholder via javascript, or you could use the Custom Search module and use the block to place it correctly.