I love Drupal and I love Bootstrap, and the Drupal Bootstrap Base Theme bridges the gap between them nicely, it coats everything with elements from the Bootstrap framework. It uses a Bootstrap glyph icon for the search button, which is nice, however on some projects I had to put back the text “Search” instead of the icon. The following code snippet does exactly that.

I found that the best way to do this to override the bootstrap_search_form_wrapper in your theme’s template.php file.

Lehel holds a BS in Computer science and works as Front End Engineer. He enjoys discovering life hacks and hacks in general. Among many other things he is interested in topics such as Consciousness, Philosophy, Economy and Game theory.

Previous articleHello World! Here I come.

Next articleMan is his own star and the soul that can Render an honest and a perfect man commands all light