WordPress.org

Forums

Customizr
[resolved] Reduce search width (4 posts)

  1. whatwewa
    Member
    Posted 1 year 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 1 year 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 1 year ago #

    Thanks it is working.

  4. Maria Antonietta Perna
    Member
    Posted 1 year ago #

    That's great, you're very welcome.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic