Site logo

Archived topic

Child theme header.php is not loading

5 replies · Started by Victoria on August 19, 2019

Viewing posts 1–6 of 6

Hey,

I am using a child theme off GeneratePress, which is working perfectly. However, I want to make some modifications to header.php so I have copied that file and have the modified version of it sitting in my child theme folder. But for some reason it is not overriding the parent theme version.

Do I need to do something else to ensure the override?

Thanks,

S

Hi there,

there should be nothing more you need to do. As long as the filename hasn't been changed then it should load.

What changes are you looking to make to the header?

I'm just adding a line for my Adobe fonts to show up into the <head>.

I'm doing it on a staging site, and I think that might have something to do with it not working actually...

Oh nice, didn't realise I could do that - thanks!

The Elements module is super powerful - a real time saver. Glad to be of help.

This archived topic is closed to new replies.