Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #436405

    I would like an big search box next to my logo. ( testsite at dev.leomusic.nl/leomusic )
    So I added get_search_form(); just below echo avia_logo(AVIA_BASE_URL.’images/layout/logo.png’, $addition, ‘strong’, true); in helper-main-menu.php.
    I use this CSS to style it.
    #top #searchform > div {
    max-width: 50%;
    position: relative;
    }
    #header form#searchform {
    margin-left: 25%;
    padding-top: 2%;
    }
    The problem if I use the Schrinking Header option, which is cool!, the seachr bar stays fixed while I would link to move up.
    Is this posible

    #436977

    Hey Albert!

    Please add following code to Quick CSS as well

    #header.header-scrolled form#searchform {
      padding-top: 3px;
    }

    Regards,
    Yigit

    #437028

    Hey Yegit.

    Thanks you’re the best! This works great.

    Albert

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Shrinking Header & searchbox’ is closed to new replies.