WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Shorten search box on Twenty Eleven (4 posts)

  1. Jorge Jaral
    Member
    Posted 2 years ago #

    Hi everyone; I want to change the width of the search box of the mentioned theme, you should have noticed that when you are using it the box grows to allow you to write, which is a nice effect, however I need it to grow a little less as it collides with my moved-up menu.

    I'm not sure if I must change something on the functions.php or similar.

    BTW I'm using a child theme.

    JJ

  2. Emil Uzelac
    Theme Review Admin
    Posted 2 years ago #

    That should be:

    #branding #s:focus {
    	background-color: #f9f9f9;
    	width: 196px;
    }

    reduce 196px to e.g. 100px and voila!

    Emil

  3. Jorge Jaral
    Member
    Posted 2 years ago #

    Thanks a lot Emil!

    I changed it to 150px and it worked quite nice.

    I'll post the site url later to show everyone how it looks.

    JJ

  4. Emil Uzelac
    Theme Review Admin
    Posted 2 years ago #

    Awesome JJ :)

    Emil

Topic Closed

This topic has been closed to new replies.

About this Topic