[Resolved] How to Add Custom Header.php and Single.php in the Child Theme directory?

Home Forums Support How to Add Custom Header.php and Single.php in the Child Theme directory?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1450438
    Filip

    Hi there,

    I am trying to figure out how to add the header.php and single.php in the child-theme so updates on the main theme won’t make changes.

    Short story, im installing Barba.js on my installation and need to add attributes to the <BODY> and <MAIN> in order for transitions to take effect.

    I tried the change with php/functions but i can only target classes, not attributes.

    Thank you.

    #1450917
    David
    Staff
    Customer Support

    Hi there,

    you can simply copy those two templates into the root of your child theme directory.

    #1451415
    Filip

    Thank you!

    #1451437
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.