How to change design of search button....

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"
Post Reply
User avatar
NRGy
Forum Members
Forum Members
Posts: 17
Joined: Tue Jun 23, 2009 10:30 am
Location: Tashkent

How to change design of search button....

Post by NRGy »

Hi,
I want to change design of my search button.
How can i do that?
plz help, thanx
Peciura

Re: How to change design of search button....

Post by Peciura »

Find some thing like

Code: Select all

<input name="submit" value="{$submittext}" type="submit" />
in Search module, "Search template", replace it with

Code: Select all

<input class="sub_button" name="submit" value="{$submittext}" type="submit" />
add style for your new "sub_button" class in your stylesheet

Code: Select all

input.sub_button{
	width:17px;
	height:17px;
	background-color: #C6D984;
	/*background-color: transparent;*/ 
	
	border: 1px solid #0A4C02;
	padding:0px;
	
	cursor:pointer;
	font-size: 10px;
	}
User avatar
NRGy
Forum Members
Forum Members
Posts: 17
Joined: Tue Jun 23, 2009 10:30 am
Location: Tashkent

Re: How to change design of search button....

Post by NRGy »

Thanx, it works :)
Post Reply

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