Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6170831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:06:30+00:00 2026-05-23T23:06:30+00:00

I need to remove the search button which is normally placed on the right

  • 0

I need to remove the search button which is normally placed on the right side of the search form and enter default text that appears inside the search form like the one, here on stackoverflow. I just want the text inside the search form to be a little lighter as well. BTW i am using the toolbox wordpress theme but anyways heres the code.

<div id="search" class="widget widget_search">
<?php get_search_form(); ?>
</div>

I have taken a snapshot of the code in search.php, heres the link
https://i.stack.imgur.com/HreJI.png

And heres the css:

#searchform label {
display: none;
}

#searchform input#s {
width: 150px;
}

input[type=text],

input#s {
margin: 0 1em 0 0;
width: 60%;
}

textarea {
width: 80%;
}

#search {
float: right;
margin-top: -98px;
margin-right: 22px;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:06:31+00:00Added an answer on May 23, 2026 at 11:06 pm

    The search button can be hidden by simply changing its CSS properties to the following:

    #search {
        display: none;
    }
    

    As for placeholder text, you would have to use Javascript or HTML5 in order for that to work, like detailed at this website.

    EDIT

    Based on the form not being quite organized the way the question suggested, just change the CSS above to:

    #searchsubmit {
        display: none;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to be able to remove the description text within search results which
I'm cleaning up a search string and need to remove any periods that appear
I need to remove any instances of 544 full-text stopwords from a user-entered search
I've encountered the need to remove comments of the form: <!-- Foo Bar -->
I have a bunch of code that I need to do a search and
I have a section of code that I need to remove from multiple files
I have a form created which an unbound datagridview that has three columns. Position,
I need to remove duplicate rows from a fairly large SQL Server table (i.e.
I need to remove temp files on Tomcat startup, the pass to a folder
I need to remove multiple items from a Dictionary. A simple way to do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.