Title: Adding to header.php breaks the navigation bar
Last modified: August 22, 2016

---

# Adding to header.php breaks the navigation bar

 *  [Lisa Sauro](https://wordpress.org/support/users/lisaricochecom/)
 * (@lisaricochecom)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/adding-to-headerphp-breaks-the-navigation-bar/)
 * I added the code to header and looks great except now the navigation bar links
   will not work. Tried everything imaginable and nothing working. Works when I 
   use shortcode on a page but not in theme.
 * I’m using twenty ten child theme.
    northatlanticcommercial.com [https://wordpress.org/plugins/ml-slider/](https://wordpress.org/plugins/ml-slider/)

Viewing 1 replies (of 1 total)

 *  [Steven Reid](https://wordpress.org/support/users/synergyuk/)
 * (@synergyuk)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/adding-to-headerphp-breaks-the-navigation-bar/#post-5270500)
 * Probably down to the positioning that you had placed the metaslider in the code.

Viewing 1 replies (of 1 total)

The topic ‘Adding to header.php breaks the navigation bar’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3523572)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [navigation bar](https://wordpress.org/support/topic-tag/navigation-bar/)

 * 1 reply
 * 2 participants
 * Last reply from: [Steven Reid](https://wordpress.org/support/users/synergyuk/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/adding-to-headerphp-breaks-the-navigation-bar/#post-5270500)
 * Status: not resolved