Home › Forums › WoodMart support forum › Replacing standard elements
Replacing standard elements
- This topic has 16 replies, 2 voices, and was last updated 3 days, 18 hours ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
May 4, 2025 at 11:22 am #658227
panchacardsParticipantHello, I need to replace standard elements with my own in the product card. Can I do this?
Is it possible to add code for such buttons somewhere?
1 screen default settings
2 screen as neededAttachments:
You must be logged in to view attached files.May 5, 2025 at 11:29 am #658332
Aizaz Imtiaz AwanKeymasterHello,
You can navigate to Theme Settings > Product Archive > Product Styles to explore and select from the available product card layout options.
If you’d like to add your own custom elements to the product card, the file responsible for the hover effect you mention. You can edit the theme file at your own risk.
woocommerce/content-product-fw-button.php
Best Regards,
May 6, 2025 at 5:05 pm #658666
panchacardsParticipantHello
i found the file that i was told to use to change the button. Now i have a question. How do i change the styling of this button? How do i change the css class wd-add-btn and wd-add-btn-replace?Attachments:
You must be logged in to view attached files.May 6, 2025 at 8:27 pm #658709
panchacardsParticipanthow can i make an active child theme, took the royal family styles?
Attachments:
You must be logged in to view attached files.May 7, 2025 at 11:41 am #658836
Aizaz Imtiaz AwanKeymasterHello,
01. Unfortunately, it is not possible. The HTML structure does not allow for solving it with custom CSS. Such modification requires complicated WooCommerce code customization, which is not covered by our support.
02. To make your active child theme inherit the styles from the parent theme, follow these steps:
From your screenshot, you’re already doing this correctly in functions.php:
wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( 'woodmart-style' ), woodmart_get_theme_info( 'Version' ) );
This line tells WordPress to load the child theme’s style.css, and load the parent theme’s styles (woodmart-style) before it.
Best Regards,
May 7, 2025 at 6:10 pm #658967
panchacardsParticipantHello,
How can I remove the inscription in the search bar?Attachments:
You must be logged in to view attached files.May 8, 2025 at 8:47 am #659067
Aizaz Imtiaz AwanKeymasterHello,
Try to use the Loco Translate plugin to remove that text: https://ibb.co/KpmsNLS5
Please follow this guide: https://xtemos.com/docs-topic/translate-woodmart-theme-with-loco-translate/
Best Regards,
May 9, 2025 at 9:02 am #659379
panchacardsParticipantHello,
This helped me
I would also like to know if I can somehow make the “Buy now” button for each product have different links? I need this button to redirect to another site. Is it possible?Attachments:
You must be logged in to view attached files.May 9, 2025 at 2:49 pm #659521
Aizaz Imtiaz AwanKeymasterHello,
You need to change the product type to “External / Affiliate product” and then provide the external URL in the product data. This allows users to click a “Buy Now” or similar button on your WooCommerce product page and be redirected to the external website: https://ibb.co/0VvDLqy5
Best Regards,
May 9, 2025 at 9:10 pm #659632
panchacardsParticipantThank you, you helped me out again
Another question, I would like to make the top part with the text “with love to every client” on the entire page, I did not find such settings in the theme. I only saw that you can make the entire header the entire widthAttachments:
You must be logged in to view attached files.May 10, 2025 at 9:57 am #659677
Aizaz Imtiaz AwanKeymasterHello,
To achieve a full-width display for your text, “With love to every client,” we recommend using the Marquee element. You can create this via an HTML Block, then assign that block as a Header Banner for your header layout. This will ensure the text stretches across the full width regardless of the word count. – https://prnt.sc/MtvfiRJ1GPxU
Best Regards,
May 24, 2025 at 5:42 pm #663031
panchacardsParticipantHow can I return all the styles that were originally in the theme?
May 26, 2025 at 8:30 am #663123
Aizaz Imtiaz AwanKeymasterHello,
Could you please share some screenshots of the styles you are referring to?
This will help me better understand which original theme styles you’d like to restoreBest Regards,
May 26, 2025 at 4:10 pm #663323
panchacardsParticipantThe search is displayed incorrectly in the header, I would like to return it to how it was originally
Attachments:
You must be logged in to view attached files.May 27, 2025 at 12:31 pm #663517
Aizaz Imtiaz AwanKeymasterHello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards,
May 27, 2025 at 5:27 pm #663630
panchacardsParticipantsent
May 28, 2025 at 8:18 am #663717
Aizaz Imtiaz AwanKeymasterHello,
Please activate the parent theme on your site and check if the issue persists. This may help resolve the issue you’re encountering.
Best Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register