Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

How to Remove the Magnifying Glass from the Sidebar Widget?


  #1  
Old Apr 30, 2014, 07:23 AM
rardnek
 
3 posts · Mar 2014
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!
  #2  
Old Apr 30, 2014, 02:25 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
I don't see a magnifying glass on your site.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Apr 30, 2014, 02:32 PM
rardnek
 
3 posts · Mar 2014
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/
  #4  
Old Apr 30, 2014, 03:17 PM
juggledad's Avatar
juggledad
 
23,628 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Apr 30, 2014, 03:29 PM
rardnek
 
3 posts · Mar 2014
Apologies, I assumed the search widget was part of the theme.

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

Bookmarks

Tags
search box, search widget

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Magnifying Glass Icon from Search Widget HenryGomez Sidebars & Widgets 6 Sep 24, 2010 12:36 PM
[SOLVED] How do I remove the archives and categories widget in the left sidebar? sroark Sidebars & Widgets 2 Oct 14, 2009 12:58 PM
Magnifying Glass Not Showing SupraTT Sidebars & Widgets 2 Jun 22, 2009 11:23 PM


All times are GMT -6. The time now is 08:12 PM.


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