Home › Forums › WoodMart support forum › Child Theme changes not being recognised
Child Theme changes not being recognised
- This topic has 7 replies, 2 voices, and was last updated 4 years ago by Artem Temos.
-
AuthorPosts
-
November 25, 2020 at 1:03 pm #244642
smartuknetParticipantHi, I need to make changes to some of the product templates as we have bespoke products and I need to call in the attributes into a different part of the page. I have the Child Theme stating it is active, but when I make changes nothing is being recognised.
– To test the css I added a background colour to the page and that is not being pulled through
– I have copied the tabs.php from the parent template to here: /wp-content/themes/woodmart-child/WooCommerce/single-product/tabs but changes are not showing upCan you advise please?
November 25, 2020 at 1:20 pm #244647
Artem TemosKeymasterHello,
As we can see, the child theme is activated and works as expected https://prnt.sc/vpudbo https://prnt.sc/vpudhh
If you don’t see your changes then your code is wrong or contains errors. Sorry, but fixing code in the child theme is out of our theme support scope.Kind Regards
November 25, 2020 at 1:37 pm #244650
smartuknetParticipantThank you for confirming that the theme is active. I changed the name of the WooCommerce folder to not use capitals, did a hard refresh and it now seems to be working!
Can you confirm for me, that if we were to do a template update in the future, anything in the child folder won’t be overwritten, just the main template?
My first time using WordPress so I am just double checking.
I did try to use the HTML blocks but I need to insert code full in different fields and the HTML blocks did not seem to like the php.
Thanks in advance.
November 25, 2020 at 1:56 pm #244662
Artem TemosKeymasterYes, you will never need to update the child theme so your changes will not be lost.
November 25, 2020 at 2:19 pm #244669
smartuknetParticipantThank you.
Can you advise if there is a way to control the location of where the attributes show in the product page? I can’t seem to find a setting for this in the theme and they are currently showing on top of the image under the ‘HOT’ icon.
November 26, 2020 at 7:01 am #244871
Artem TemosKeymasterHello,
There is no option for this in our Theme Settings. It has only one location at the moment.
Kind Regards
November 26, 2020 at 10:38 am #244966
smartuknetParticipantCan you point me to the file where the design is generated?
Thanks in advance
November 26, 2020 at 12:16 pm #245003
Artem TemosKeymasterIt is generated by PHP function
woodmart_product_label()
located in the filewoodmart/inc/integrations/woocommerce/template-tags.php
. -
AuthorPosts
Tagged: Child theme customise
- You must be logged in to create new topics. Login / Register