Page 1 of 1
How do I style the search button [SOLVED]
Posted: Sat Mar 17, 2007 3:19 pm
by wendym
Hi everyone,
I'm new to CMS made simple and am enjoying it so far!
I apologise if this question has been asked before but how do I apply a css style to the search button? I am using version 1.0.2.
This is the code that I want to apply the style to:
Where do I edit this line of code?
Thanks for your help.
Wendy
Re: How do I style the search button
Posted: Sat Mar 17, 2007 3:38 pm
by kermit
in the admin, look under extensions -> search -> search template.
Re: How do I style the search button
Posted: Sat Mar 17, 2007 4:03 pm
by wendym
This is the code in the template:
{$startform}
{$label}: {$inputbox}{$submitbutton}{$hidden}
{$endform}
Where exactly do I edit the code?
Re: How do I style the search button
Posted: Sat Mar 17, 2007 4:47 pm
by kermit
silly me, i was looking at a modified template....
try this...
{$startform}
{$label}: {$inputbox}{$hidden}
{$endform}
and then add
.searchsubmit {your styles here}
to your css.... at least that's what works here.

Re: How do I style the search button
Posted: Sat Mar 17, 2007 5:29 pm
by wendym
That's great, it works for me too!
Thanks for your help.
Re: How do I style the search button [SOLVED]
Posted: Wed Jul 04, 2007 1:20 am
by CrazyArmyCat
How do you change the size of the imput box without adding a bunch of css?
Re: How do I style the search button [SOLVED]
Posted: Thu Jul 05, 2007 8:06 pm
by Dr.CSS
It should have an id that you can use CSS to change it...
Right click the rendered page and view source to find it...