Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-05-29 15:00:39

WildeMedia
Member
From: Hampshire
Registered: 2009-04-22
Posts: 17
Website

How do I add a CSS style to the search button?

Hi,

I’ve got a search form on my home page and I’ve been trying to style the button and text input box but still no luck. I would like to use a background image on the button and also add a rollover state.

Is there anyway I can add a style to the button and text box individually?

Here is the link to my home page – www.wildemedia.co.uk

This is the code I’m using for the search:

<txp:search_input button=“search” section=“articles” size=“30” />

The search box is on the right side of the page.

Any help will be much appreciated!

Offline

#2 2009-06-02 15:35:24

WildeMedia
Member
From: Hampshire
Registered: 2009-04-22
Posts: 17
Website

Re: How do I add a CSS style to the search button?

hello?

Offline

#3 2009-06-02 17:53:13

gerhard01
Plugin Author
Registered: 2006-12-07
Posts: 108

Re: How do I add a CSS style to the search button?

TXP Tips

CSS: e.g. here or Google is your friend

Offline

#4 2010-09-11 16:56:38

johnniedice
New Member
Registered: 2010-09-11
Posts: 1

Re: How do I add a CSS style to the search button?

I really like the design of your homepage. The colors really blend together well. I also see that you’ve decided to just get rid of the search box. Any reason why? (or am i just overlooking it?).

Johnnie Dice

Last edited by johnniedice (2010-09-11 16:59:08)

Offline

Board footer

Powered by FluxBB