Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   How to Remove the Magnifying Glass from the Sidebar Widget? (http://forum.bytesforall.com/showthread.php?t=22428)

rardnek Apr 30, 2014 07:23 AM

How to Remove the Magnifying Glass from the Sidebar Widget?
 
I've been searching the forums and reading related topics but I am stuck on that magnifying glass.

Is it possible to use CSS to change the submit button so that it does not use the deafult magnifying glass image but is just a text button instead? I've don't know enough CSS to know if it's possible to override the src of the input field.

I am looking for a solution that does not involve me changing the code.

Default html looks like this:
HTML Code:

<td class="searchbutton">
<input name="submit" value="Search" type="image" src="http://www.no-rep.tv/wp-content/themes/atahualpa/images/magnifier2-gray.gif" style="display: block; border:none; padding: 0 0 0 5px; margin: 0;">
</td>

ps-- making this an editable option in the widget field would be super helpful!

lmilesw Apr 30, 2014 02:25 PM

I don't see a magnifying glass on your site.

rardnek Apr 30, 2014 02:32 PM

As a work around, I copied the HTML created by the widget and pasted it into my footer, with my own edits to the style/formatting to get rid of the image.

(Side note: I'd love help figuring out how to get rid of the white border around "Search").

It's not the most elegant solution, but it worked for me.

I stuck the generic search widget back into the right-hand side bar if you would like to see it:

http://www.no-rep.tv/test/

juggledad Apr 30, 2014 03:17 PM

The 'Search' widget is not part of the theme, it is part of the WordPress base install. You can add CSS to the Atahualpa 'CSS Inserts' to effect it.

Your solution is fine, you modified it to suit your needs, what more do you need?

rardnek Apr 30, 2014 03:29 PM

Apologies, I assumed the search widget was part of the theme.

I figured out my hack after i posted, but thanks anyway.


All times are GMT -6. The time now is 06:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.