Title: Aligning a search box
Last modified: August 18, 2016

---

# Aligning a search box

 *  [ojwmather](https://wordpress.org/support/users/ojwmather/)
 * (@ojwmather)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/aligning-a-search-box/)
 * Apologies in advance because I know this is a n00b question, but help would be
   appreciated. I’m looking to align the search box in the following code to the
   right hand side and am unsure how to do it.
 *     ```
       <div id="main">
       <div id="nav">
       <ul class="nav">
       <li class="first"><a href="<?php bloginfo('url'); ?>">Home</a></li>
       <?php wp_list_pages('title_li='); ?>
       <?php include (TEMPLATEPATH . '/searchform.php'); ?>
       </ul>
       </div>
       </div>
       ```
   
 * Many thanks,

Viewing 1 replies (of 1 total)

 *  Thread Starter [ojwmather](https://wordpress.org/support/users/ojwmather/)
 * (@ojwmather)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/aligning-a-search-box/#post-620787)
 * Resolved this one – should have looked to the CSS earlier…

Viewing 1 replies (of 1 total)

The topic ‘Aligning a search box’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [ojwmather](https://wordpress.org/support/users/ojwmather/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/aligning-a-search-box/#post-620787)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
