Datafeedr Support Forums

Datafeedr Support Forums (/index.php)
-   Questions (/forumdisplay.php?f=67)
-   -   Style serach button (/showthread.php?t=6469)

cactu8 March 10th, 2012 04:01 AM

Style serach button
 
Hi

I just found this thread
/show...t=style+button

How can i change look of search button at http://www.basketballsystemsportable.com

Eric March 10th, 2012 09:14 AM

Hi

You will need to use CSS to change the look of the submit button. It's not very easy and it's beyond the scope of support provided here.

That being said, here are a few resources:

http://cssbutton.com/forms/
http://www.tripwiremagazine.com/2009...ancements.html
http://www.456bereastreet.com/lab/st...submit-button/
http://www.bloggerswatch.com/interne...me-everywhere/
http://www.suburban-glory.com/blog?page=140

Eric

cactu8 March 12th, 2012 04:47 AM

Ok but where to add class="button" to

<script type="text/javascript">
<!--
/*
* NOTE: This JS code would be much better off
* existing in your theme's header.php file.
*/
function wash( anInput ) { if(anInput.value == anInput.defaultValue) anInput.value = ''; }
function checkWash( anInput ) { if(anInput.value == '') anInput.value = anInput.defaultValue; }
//-->
</script>
<div class="store_search_form">
[search.form]
[search.word onfocus='wash(this);' onblur='checkWash(this);' value='Search store...']
[search.submit title='Search']
[/search.form]
</div>

Eric March 12th, 2012 09:21 AM

Just change this:

[search.submit title='Search']

To this:

<input type="submit" value="Search" class="button">

Eric


All times are GMT -5. The time now is 01:07 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.