How do I style the search button [SOLVED]

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
wendym

How do I style the search button [SOLVED]

Post 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
Last edited by wendym on Sat Mar 17, 2007 5:30 pm, edited 1 time in total.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: How do I style the search button

Post by kermit »

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
wendym

Re: How do I style the search button

Post by wendym »

This is the code in the template:

{$startform}

{$label}: {$inputbox}{$submitbutton}{$hidden}

{$endform}

Where exactly do I edit the code?
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: How do I style the search button

Post 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. ;)
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
wendym

Re: How do I style the search button

Post by wendym »

That's great, it works for me too!

Thanks for your help.
CrazyArmyCat
Forum Members
Forum Members
Posts: 11
Joined: Mon Mar 26, 2007 11:41 pm

Re: How do I style the search button [SOLVED]

Post by CrazyArmyCat »

How do you change the size of the imput box without adding a bunch of css?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: How do I style the search button [SOLVED]

Post 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...
Locked

Return to “Layout and Design (CSS & HTML)”