How do I style the text input box in the search module?

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 text input box in the search module?

Post by wendym »

I want to style the text input box in the search module. When I use the following code the search does not work:


{$startform}

{$label}: 

  {$hidden}

{$endform}

What am I doing wrong?
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: How do I style the text input box in the search module?

Post by Dee »

To style the input box you should be able to use:

Code: Select all

div#search form input {
  /* style definition */
}
See also this post.

Regards,
D
wendym

Re: How do I style the text input box in the search module?

Post by wendym »

Thanks Dee, I'll give that a go.

W
CrazyArmyCat
Forum Members
Forum Members
Posts: 11
Joined: Mon Mar 26, 2007 11:41 pm

Re: How do I style the text input box in the search module?

Post by CrazyArmyCat »

Where would I add that code?  is it css?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: How do I style the text input box in the search module?

Post by RonnyK »

Yes, that is CSS, so you should put it inside one of the attached stylesheets.

Ronny
Locked

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