WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
[resolved] Reduce search width (4 posts)

  1. whatwewa
    Member
    Posted 4 months ago #

    Hello, my URl is http://www.whatvwant.com/

    I replaced tagline with search which can be seen in my URL. I want to know how to reduce it's width.

  2. Maria Antonietta Perna
    Member
    Posted 4 months ago #

    Hi, to make changes to your theme it's best if you use a custom CSS plugin or a child theme. About your search box, try with this CSS rule

    #search_form .text {
      max-width: 60%;
    }

    Obviously, you can adjust the width to your liking. I used percentages and max-width to make the search box responsive so that it adapts with changing screen size. Just try to see if it works.

  3. whatwewa
    Member
    Posted 4 months ago #

    Thanks it is working.

  4. Maria Antonietta Perna
    Member
    Posted 4 months ago #

    That's great, you're very welcome.

Reply

You must log in to post.

About this Theme

About this Topic