Title: Header Child Theme
Last modified: July 26, 2024

---

# Header Child Theme

 *  Resolved [moskatus](https://wordpress.org/support/users/moskatus/)
 * (@moskatus)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/header-child-theme/)
 * Hello I need to create a new header.html in my child theme, but I’m not succeeding,
   my idea is to have a new header for mobile sites that is completely different
   from the desktop one, could anyone help?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [jordesign](https://wordpress.org/support/users/jordesign/)
 * (@jordesign)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/header-child-theme/#post-17918269)
 * Hi [@moskatus](https://wordpress.org/support/users/moskatus/) – there’s two parts
   to answer in that question…
 * > I need to create a new header.html in my child theme, but I’m not succeeding
 * The theme itself can only have a single header.html _file_ but you can easily
   create new Header _Template Parts_ in the Site Editor. Try heading to Appearance
   > Edit and then going to Patterns > Headers and clicking the button to add a 
   new one.
 * > my idea is to have a new header for mobile sites that is completely different
   > from the desktop one
 * This is something that’s a bit trickier – there’s no currently a way to have 
   different templates (or parts) selected based on the user’s device or screen 
   size.
 *  Thread Starter [moskatus](https://wordpress.org/support/users/moskatus/)
 * (@moskatus)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/header-child-theme/#post-17919911)
 * OK, well I’ll try to organize it via CSS, but it will be very complicated, thanks
   for the feedback.
 * ![Ícone "Verificada pela comunidade"](https://wordpress.org/545a92c6-74a5-441f-
   a4d1-51b35caf4409)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Header Child Theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentytwentyfour/1.5/screenshot.
   png)
 * Twenty Twenty-Four
 * [Support Threads](https://wordpress.org/support/theme/twentytwentyfour/)
 * [Active Topics](https://wordpress.org/support/theme/twentytwentyfour/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentytwentyfour/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentytwentyfour/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [moskatus](https://wordpress.org/support/users/moskatus/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/header-child-theme/#post-17919911)
 * Status: resolved