• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Search field magnifying glass / cancel icons

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Search field magnifying glass / cancel icons

This topic is: not resolved

Tagged: genesis 404 plugin, icon, magnifying glass, search field, Search Form

  • This topic has 4 replies, 2 voices, and was last updated 8 years, 11 months ago by exelexys.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 16, 2014 at 11:21 am #100703
    exelexys
    Member

    Using Bill Erickson's Genesis 404 plugin to create a search form via his [genesis-404-search] shortcode. When typing in the search field, an X is displayed at the right side of the field essentially over the magnifying glass icon which is part of the field:

    For some reason, the magnifying glass icon doesn't appear to be functional (clicking it either with or without text in the search field does nothing), but clicking on the X clears the search field. Ideally, the magnifying glass icon would be separated from the cancel icon and initiate a search when clicked with text in the search field.

    Does anyone know if this behavior is common to WordPress search fields and how to remove the magnifying glass icon to prevent confusion?

    Many thanks in advance.

    http://is.gd/YIn8Lb
    April 16, 2014 at 11:41 am #100713
    Lauren @ OnceCoupled
    Member

    That icon is just identifying the input area as a search form. It's a background image, which you could remove by editing your stylesheet. Your search submit buttons are styled to not display.

    Best,
    Lauren


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    April 16, 2014 at 12:30 pm #100729
    exelexys
    Member

    Thanks for the tips.

    Any idea how to make the magnifying glass icon disappear when text is the search field so the cancel icon is clearly visible?

    Thanks!

    April 16, 2014 at 1:03 pm #100734
    Lauren @ OnceCoupled
    Member
    .search-form input[type="search"]:focus {
         background-image: none;
    }

    Cheers,
    Lauren


    We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com

    April 16, 2014 at 8:30 pm #100873
    exelexys
    Member

    Perfect. Thanks very much!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble