• 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

How to remove the Search Button

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 › How to remove the Search Button

This topic is: not resolved

Tagged: search button

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 5 months ago by Nandita.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 19, 2013 at 2:30 am #74151
    Nandita
    Member

    I want to remove the "Search Button" completely from the search function. I mean I want to show the "Search Form" only, with 'Hit Enter' instruction.

    I've removed the texts from the button filed by adding the necessary CSS codes in functions.php file. But still a space is there. please have a look and help me.

    My Search Form is on the Navigation Bar.

    My Blog URL is http://seohour.com
    Nandita B.

    http://seohour.com
    November 19, 2013 at 5:56 am #74158
    stinkykong
    Participant

    Using Firebug, I see you have

    form class="searchform search-form"

    and inside that form is your button

    input class="searchsubmit search-submit"

    so, in style.css (your stylesheet), you should try working with a rule something like

    .searchform .searchsubmit {
    visibility: hidden;
    overflow: hidden;
    }

    Where you see ".searchform .searchsubmit " you might be better off with one of these:

    .search-form .searchsubmit
    .search-form .search-submit

    or you may only need one of these:

    .searchsubmit
    .search-submit


    Web Design by Websentia Web Services
    http://websentia.com

    November 19, 2013 at 7:59 am #74165
    Nandita
    Member

    Hi Stinkykong,

    Your codes just worked like a charm 🙂 Thank you so much.

    Can you help me a little more? I want to shift my Search Form 35px to the right (from its original position).

    Thank you & take care 🙂 🙂

    November 19, 2013 at 8:20 am #74167
    stinkykong
    Participant

    All experimenting but try adding:

    #nav .searchform {
        width: 94%;
    }
    
    #nav li.search {
        padding: 0 0 0 25px;
    }

    The 94% width can be tweaked and the second zero of the padding might be a few pixels.


    Web Design by Websentia Web Services
    http://websentia.com

    November 19, 2013 at 2:38 pm #74251
    Nandita
    Member

    Hi Stinkykong,

    Everything just worked great. I appreciate your time and efforts.

    Thank you so 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

© 2025 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