[Resolved] Replace Search Button with Magnifying Glass Image

Home Forums Support [Resolved] Replace Search Button with Magnifying Glass Image

Home Forums Support Replace Search Button with Magnifying Glass Image

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #251358
    Lisa

    I have a website that I have added a search box in the header. I can’t post the URL because it’s a client site and I’ve agreed to keep it confidential. My client wants a “Magnifying Glass” instead of the Search Button. As a temporary visual solution, I’ve managed to add this as an image background inside the input box, which I know is wrong because it needs to be the actual search button but I can’t seem to figure out how to get it to work as the submit button instead of an actual button.

    Has anyone done this or have any ideas how to do this?

    #251441
    Tom
    Lead Developer
    Lead Developer

    Hi Lisa,

    This topic might help: https://generatepress.com/forums/topic/search-widget-changing-its-visual-effect/#post-118586

    You can neglect the first bit of CSS I think, but the rest should be relevant.

    Let me know ๐Ÿ™‚

    #251521
    Lisa

    Tom, your suggestion works to put the Magnfying class outside of the input box but is there a way to put it inside the input like this
    http://prnt.sc/dfk88r

    #251539
    Lisa

    Played with the css and got it to work… thank you!

    #251631
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.