Search Bar
Hey I have been formatting the search bar to my liking and its been coming along good using
sfsearchBox .sfsearchTxt - for the textbox
and sfsearchBox .sfsearchSubmit - for the button
I am unable to get the button with a background image and would like help.
setting the background-image of .sfsearchSubmit should be correct. I had to set the height and width explicitly. See below to see if that helps. The below will create a nice huge red button. The important is optional.
background-image: url(http://www.psdgraphics.com/wp-content/uploads/2009/07/push-button.jpg);background-color: transparent;height: 458px;width: 610px;border: none;.sfsearchBox .sfsearchSubmit background-image:url('..\Images\header-logo.jpg') !important; background-color:transparent; height:23px; width:27px; border:none;Is the widget fully setup on the template or page? So connected to your search list, etc.?
Its setup on my template page at the moment with a temporary search index.
I am mostly focusing on just the styling at the moment.
Hey Jonathan I was able to get my background image to show up, which is great.
The only problem now is I cannot get the
value="search"[quote]Jonathan said:setting the background-image of .sfsearchSubmit should be correct. I had to set the height and width explicitly. See below to see if that helps. The below will create a nice huge red button. The important is optional.
background-image: url(http://www.psdgraphics.com/wp-content/uploads/2009/07/push-button.jpg);background-color: transparent;height: 458px;width: 610px;border: none;value="search"Got my image working good Jonathan.
Problem is that:
value="Search"Is still there so I see proper image, proper BGC but then I still see the ugly word search go accross it. Any help would be awesome
@Patrick Map an external template and take that out, or jquery it out?
Or sometimes (albit yucky) set
color: transparent;It was a litty yucky, but it worked!
color:transparent;font-size:1px;