WordPress.org

Ready to get started?Download WordPress

Forums

How to Add Search Box into Top Nav Bar (1 post)

  1. emberjd123
    Member
    Posted 1 year ago #

    Hoping someone can help me please.

    Found under CSS stylesheets the following:
    .searchbar{float:right;width:290px;height:31px;margin:0;z-index:100;}
    .searchform{width:290px;height:20px;text-align:left;}

    Looking to put search box on the right hand side of top nav bar and understand I will need to be a code in the header. The final code under the header is:
    <div id="header">
    <img src="<?php bloginfo('template_url'); ?>/images/header.gif" alt="insurance"/>
    <?php wp_nav_menu('menu=topnav'); ?>
    </div>
    New to this, please can someone give me a code and tell me where to put it in the header?

    Website

Topic Closed

This topic has been closed to new replies.

About this Topic