scapegoat17
scapegoat17

Reputation: 5841

Drupal 7 - Search box

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!

Upvotes: 1

Views: 1412

Answers (1)

jsheffers
jsheffers

Reputation: 1622

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

Upvotes: 1

Related Questions