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
How do I style the search button [SOLVED]
How do I style the search button [SOLVED]
Last edited by wendym on Sat Mar 17, 2007 5:30 pm, edited 1 time in total.
Re: How do I style the search button
in the admin, look under extensions -> search -> search template.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: How do I style the search button
This is the code in the template:
{$startform}
{$label}: {$inputbox}{$submitbutton}{$hidden}
{$endform}
Where exactly do I edit the code?
{$startform}
{$label}: {$inputbox}{$submitbutton}{$hidden}
{$endform}
Where exactly do I edit the code?
Re: How do I style the search button
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.
try this...
{$startform}
{$label}: {$inputbox}{$hidden}
{$endform}
and then add
.searchsubmit {your styles here}
to your css.... at least that's what works here.

Last edited by kermit on Sat Mar 17, 2007 4:50 pm, edited 1 time in total.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: How do I style the search button
That's great, it works for me too!
Thanks for your help.
Thanks for your help.
-
- Forum Members
- Posts: 11
- Joined: Mon Mar 26, 2007 11:41 pm
Re: How do I style the search button [SOLVED]
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]
It should have an id that you can use CSS to change it...
Right click the rendered page and view source to find it...
Right click the rendered page and view source to find it...