Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Silverstripe Search Form

Go to End

3 Posts   3985 Views


Community Member, 8 Posts

8 May 2009 at 2:25am

Hi guys

I'm using the standard Searchform function within a theme in order to provide a site search facility.
1: I'm just wondering where the CSS for this form is pulled in from?
2: Also where is the PHP file that builds this form? Basically I want to restructure the way it builds the form so that it only uses one div instead of putting the input field and the button in two separate divs.



Community Member, 25 Posts

14 May 2009 at 11:07pm

Edited: 15/05/2009 12:42am

I have exactly the same requirement. I used firebug to identify the elements and was able to edit the html in firebug to demonstrate the layout I require, but I am unable to find where the html is generated within SS. I did find a topic here where Will suggests a css change but I want to do this within the html.

Anyone have any suggestions?

Thank you


Community Member, 29 Posts

17 July 2009 at 10:58am


are you looking for the file sapphire/templates/ It is possible to create a second one in your themes.

Best regards,