This topic has 4 replies, 2 voices, and was last updated 9 years, 9 months ago ago by Eva Kemp
Hi There!
I need your help to customize the theme-functions.php (framework folder) and the top-bar.php via Child Theme. I tryed to put the same folder estructure on the child theme folder (as other child themes do), but it doesn´t work.
How can i make some changes in this files and keep them on my child theme folder for future updates of the theme?
Regards!
Hello,
You need copy the code you want to edit from the files and insert it in functions.php file of the child theme.
Please try it.
Thank you.
Regards,
Eva Kemp.
Hi Thanks for your reply.
Works fine to customize the functions, but how can i customize a template without a function?
For example, i need to change:
This:
<div class=”empty-category-block”>
<p>“><span><?php _e(‘Return To Shop’, ETHEME_DOMAIN) ?></span></p>
</div>
to this:
<div class=”empty-category-block”>
<h2>No se han encontrado productos</h2>
<p>“><span><?php _e(‘Return To Shop’, ETHEME_DOMAIN) ?></span>
<span>INSCRIBETE</span></p>
</div>
In other themes, this is made by cloning the php file in the same folder structure than the parent theme in the child theme folder.
Is there any way to do the same in this child theme?
Regards!
Hello,
In this case you need add the code in functions.php file of your child theme.
It should work.
Please try it.
Thank you.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up