[resolved] [Twenty Eleven] search box in nav bar (3 posts)

  1. funsail
    Posted 3 years ago #

    How does the search box work when header text is turned off? I see it lives in nav bar, then as you shrink it gets narrower, then suddenly pops up in the middle of the header image back to full size.

    I'd like it to disappear rather than cover a random bit of the header image

  2. Michael
    Forum Moderator
    Posted 3 years ago #

    this is done in the 'responsive styles' section of style.css;

    add new styles to the stylesheet in your child theme to overwrite it or to hide the searchbox for very narrow screens;


    @media (max-width: 650px) {
    	#branding #searchform {

    untested - you can check for instance with a browser inspection tool such as Firefox' web developer add-on where the formatting of the search box comes from - for the different browser widths.

  3. funsail
    Posted 3 years ago #

    great thanks

Topic Closed

This topic has been closed to new replies.

About this Topic