Title: The code in header,php creates two headers?
Last modified: January 17, 2021

---

# The code in header,php creates two headers?

 *  [Anandabrata Ghosh](https://wordpress.org/support/users/ananddevops/)
 * (@ananddevops)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/the-code-in-headerphp-creates-two-headers/)
 * Hello,
 * I have installed the OceanWP theme and on top of it the sample child theme provided
   by OceanWP.
 * I am facing a few issues, listed below:
 * 1. This is the [header.php](https://github.com/oceanwp/oceanwp/blob/master/header.php)
   I am using. Because of this the header appears twice, with just the Tag Line.
   [See here](https://imgur.com/g08d9G0) . **How to make this alrite?**
    2. I tried
   to make it ok by commenting out the last line of [header.php](https://github.com/oceanwp/oceanwp/blob/master/header.php).
   Then the double header disaapears, but a commenting code appears, not sure from
   where? [See here](https://imgur.com/7vuU6Ur) . How to remove that? 3. How to 
   remove the sidebar, from all pages? 4. I want to see the Logo(resizable), tagline
   underneath the logo, site title, menu and search bar, all on the header. How 
   do I get that?
 * Thanks,
    Anand

The topic ‘The code in header,php creates two headers?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.6/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [Anandabrata Ghosh](https://wordpress.org/support/users/ananddevops/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/the-code-in-headerphp-creates-two-headers/)
 * Status: not resolved