• Resolved sevenglaciers

    (@sevenglaciers)


    Seven Glaciers

    I can’t figure out how to get this search bar inline with the rest of my Nav menu.

    Here’s the markup:

    <nav class="mainMenu">
                    <?php wp_nav_menu(); ?>
                   		<div id="search">
                     	 	<?php include (TEMPLATEPATH . "/searchform.php"); ?>
           			  	</div>
                </nav>

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try;

    .menu {
     float: left;
    }

    Block elements will naturally span 100% width unless you reduce their widths, display them inline or float them left.

    Thread Starter sevenglaciers

    (@sevenglaciers)

    thank you, sir, changing the width worked. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Having Search Bar Problems’ is closed to new replies.