Converting the Search Button to an image

Events happening in the community are now at Drupal community events on www.drupal.org.
amariotti's picture

Does anyone know how this is done? The button I am referring to is the one that appears on all pages along the top. How would go about changing that button? Thanks in advance.

--Andrew

Comments

Changing the UI using CSS

cmsproducer's picture

You can easily replace the standard button with an image using CSS. Identify a CSS selector that appropriately targets that button something similar to:

div.form-item input#edit-submit {
  background: none;
  border: none;
  background-image: url("image-button.gif");
}

Let's know if you need more help.


iDonny Productions: Web CMS and UI/UX Design, Development & Web Standards

Thanks

amariotti's picture

Thanks for your help. Since then I was able to get the CSS stuff working on the search button.

Andrew (amariotti)

Andrew (amariotti)

Converting themes to drupal

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week