child theme function.php not working
-
Hello,
I want to add this code my child theme.
add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function($size ) {
return array(
'width' => 167,
'height' => 210,
'crop' => 0,
);
});
When I add this to child theme functions.php it’s not working, but when I add this my parent theme, it is working.
Why is my child theme not running this code ?
Hello,
Thank you very much for choosing our theme and for contacting us.
Please try to reinstall the child theme, and check the existing code in functions.php code, if it has errors, it may influence all the code following this wrong code.
If you have any questions please feel free to contact us.
Best Regards
thank you for your quick reply but my child theme is ok.
Attachments:
You must be
logged in to view attached files.
Hello,
Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.
Best Regards
hi, I provided the information.
Hello,
As I see you have solved the issue, right?
Best Regards