Home › Forums › WoodMart support forum › Change title h3 to p or span for all products from Realted products
Change title h3 to p or span for all products from Realted products
- This topic has 17 replies, 2 voices, and was last updated 3 years, 3 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
January 18, 2022 at 10:36 am #346108
vladsilviuionutParticipantHi,
I need some help with the title of the related products.
1. I want the product titles in Related products to be paragraph (p) or span.
2. I want the title in Sticky add to cart to be paragraph (p) or span.
I also attached two pictures to see exactly what I mean.
Thank you very much!Attachments:
You must be logged in to view attached files.January 18, 2022 at 12:52 pm #346151
Aizaz Imtiaz AwanKeymasterHello,
1 &2) Sorry but there is no option in Theme Settings available for that. It requires customizations and this is beyond our limitations and support policy.
Best Regard
January 18, 2022 at 2:28 pm #346180
vladsilviuionutParticipantCan you tell me where to edit or find files for ADD TO CART OPTIONS?
Attachments:
You must be logged in to view attached files.January 19, 2022 at 6:35 am #346289
Aizaz Imtiaz AwanKeymasterHello,
You can find the file under “woodmart/inc/admin/settings/product.php”
Best Regards
January 19, 2022 at 9:01 am #346323
vladsilviuionutParticipantThanks a lot, but I didn’t find anything for the title.
January 19, 2022 at 10:57 am #346342
Aizaz Imtiaz AwanKeymasterHello,
You are Most Welcome.
Please provide a relevant screenshot that you require to check it myself and help you out accordingly.
Best Regards
January 19, 2022 at 11:15 am #346345
vladsilviuionutParticipantI’ve attached two screenshots below
Attachments:
You must be logged in to view attached files.January 19, 2022 at 11:30 am #346351
Aizaz Imtiaz AwanKeymasterHello,
You can find the file for Related product title under “woodmart/woocommerce/single-product/related.php”
For the Sticky add to cart button title you can find the file under “woodmart/inc/integrations/woocommerce/template-tags.php”
And you can customise at your own risk.
Best Regards
January 19, 2022 at 11:53 am #346363
vladsilviuionutParticipantThanks so much, where do I put the template-tags.php file edited in woodmart-child so I don’t lose editing when updating?
January 19, 2022 at 12:29 pm #346383
Aizaz Imtiaz AwanKeymasterHello,
You need to put the file in the same directory as it is in the main theme to the child theme.
Best Regards
January 19, 2022 at 1:29 pm #346396
vladsilviuionutParticipantI put it but it doesn’t work, if I edit directly from the woodmart folder it works, but from the woodmart-child it doesn’t work and I put it as you said
Attachments:
You must be logged in to view attached files.January 20, 2022 at 6:05 am #346576
Aizaz Imtiaz AwanKeymasterHello,
The issue seems to be with your child theme. Please try recreating the child theme and check back.
Best Regards
January 20, 2022 at 7:36 am #346604
vladsilviuionutParticipantAnother problem is with the number of products on the page.
I put 60 and 15 appear.How to create a child theme without losing all the changes I have now on this theme?
Attachments:
You must be logged in to view attached files.January 20, 2022 at 11:09 am #346680
Aizaz Imtiaz AwanKeymasterHello,
I have visited your website and your website has a total of 41 products and all displaying on the Shop.
Screenshot for Clarification: https://gyazo.com/51126aabcd8b493c60ae11d089870020
You need to redo the customizations you made to the child theme while recreating the child theme.
Best Regards
January 24, 2022 at 3:41 pm #347543
vladsilviuionutParticipantOkay, can you tell me how to delete the current child theme correctly?
And how do I reinstall the child theme correctly?January 25, 2022 at 6:58 am #347662
Aizaz Imtiaz AwanKeymasterHello,
Please read our detailed documentation to create child theme:
https://xtemos.com/docs/woodmart/child-theme/Best Regards
January 25, 2022 at 10:30 am #347716
vladsilviuionutParticipantHello
I deleted the child theme, reinstalled the child theme and added the files exactly as you told me above and it still doesn’t work.
Please help me, any changes made to the child theme do not apply.
!!!I couldn’t attach the last picture, but there is the template-tags.php file
Attachments:
You must be logged in to view attached files.January 25, 2022 at 1:13 pm #347813
Aizaz Imtiaz AwanKeymasterHello,
Sorry for the misunderstanding, the file could not be modified.
You can copy the complete function which contains the title, then paste it in your child themes functions.php file and modify the title tag as you required.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register