• Resolved moskatus

    (@moskatus)


    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

    (@jordesign)

    Hi @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

    (@moskatus)

    OK, well I’ll try to organize it via CSS, but it will be very complicated, thanks for the feedback.

    ícone "Verificada pela comunidade"
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Header Child Theme’ is closed to new replies.