[resolved] Styling the nav menu and adding search form (4 posts)

  1. gorky5
    Posted 2 years ago #

    Hi Anthony. Thanks for creating and releasing a lovely theme, and for providing such great support here too.

    I have a couple of questions to do with the menu area. First of all, on your site http://quarktheme.com/ the nav menu (Home, Features, Demo, FAQs, Contact) remains an inline/horizontal list even on mobile devices (ie the menu items don't stack vertically on smaller screens). What should I change in the CSS to achieve this?

    Secondly, I'd like to put a search box and button on a new line below the menu list, but I'm having trouble getting it in the right place. I want to left-align it inside the "col grid_7_of_12" div.

    In header.php I found the code <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>. I know I need to put the search code below this, but I'd appreciate any help you can give in wrapping it in div/span tags to align it correctly.

  2. gorky5
    Posted 2 years ago #

    I solved the first issue (inline list on mobile) by applying the changes suggested here (I had looked through previous comments but must have missed that one). Thanks for that.

    I'm still having problems getting the search box on a new line, so any help would be great!

  3. gorky5
    Posted 2 years ago #

    OK, no matter, I fixed it myself.

  4. Anthony Hortin
    Theme Author

    Posted 2 years ago #

    Glad you got it sorted :-)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.