-
-
Hi there – I set up my site by first importing the Agency Left (Sliding) demo. I then had to make changes to the header.php to get the search bar to appear at the bottom of the menu so I activated the Child Theme, but it does not work. I tried saving the theme options and permalinks. Still no luck
Every page looks like this: https://imgur.com/DH8DFV9
When it should look like this: https://imgur.com/vsupNxP
I can give you WP creds privately to confirm. Any ideas how to fix?
-
I just worked out that because I copy and pasted my modified header.php file from the parent theme directory to the child theme directory – that’s what was breaking the child theme.
Any suggestions how I can get my customisation to the header into the child theme? I want to move the search icon down under the menu (as per screenshots). Any function I can use?
I basically moved
<?php codeless_header_tools(); >
from line 168 to 194.
Thanks
-
Hello,
You only need to add the modified file to child theme folder in the same exact path it is in the parent theme. Since the header.php file is directly under main folder, you only need to add it inside the child-theme main folder.
I see the line above is not correct. It should be like this:
<?php codeless_header_tools(); ?>
Please try again, perhaps this was causing you the issue. If you still have problems, send us your wp and ftp credentials in a private reply. So we can check it out.Best regards!
-
-
-
-
-
Hello,
Sorry for the late reply.
I modified the child theme, i added the necessary files for it to work. I tested it and this is what it looks like when child theme is activated, screenshot. I renamed your previous files just like you had renamed header.php. The widgets below menu where already there. If you do not want them, just go to Appearance > Widgets > Header Widgetized and remove them (while child theme is active)
Right now you have parent theme activated again. Please check it yourself and let us know.Best regards!
-
Oh that’s terrific. So the child theme zip was missing the includes directory.
Thanks Mihalia – all good now :)
-
You must be logged in to reply to this topic.