Home › Forums › WoodMart support forum › CSS customition
CSS customition
- This topic has 12 replies, 2 voices, and was last updated 1 year, 1 month ago by
Luke Nielsen.
-
AuthorPosts
-
January 2, 2024 at 2:16 pm #526071
av_admin_1984ParticipantHi
1-I want to put the “SOLD OUT” at the bottom of the product card in the catalog like image out-of-stock.jpg
2- Want to change the count-down and discount like this image: Screenshot-2024-01-02-141852.pngDon’t Share anything of my site anywhere,
give me the css code, and I will replace it, if it doesn’t work, I will share the image and access with you
January 3, 2024 at 10:31 am #526309
Luke NielsenKeymasterHello,
Could you please send me a URL link to the live site so I can check which product style you have?
Thank you for your time.
Kind Regards
January 3, 2024 at 4:05 pm #526463
av_admin_1984ParticipantHello Luke,
Cheek private
January 4, 2024 at 4:54 pm #526910
av_admin_1984Participant25 hours!
Are you going to answer?January 4, 2024 at 5:37 pm #526930
Luke NielsenKeymasterHello,
I apologize for the delay.
For now, it’s possible to change the position of all labels and set it at the bottom of the image, you can use the below code and check how it looks:
.product-grid-item .product-labels { top: auto; bottom: 0; }
2. The below code will help to change the position of the countdown timer:
.product-grid-item .wd-product-countdown { order: 1; } .product-grid-item .product-element-top { order: 2; }
Kind Regards
January 9, 2024 at 2:23 pm #528252
av_admin_1984ParticipantExcellent!
This is what happened when I used your code…
Thanks for your attention to destroying my site
Don’t Share anything of my site anywhere,
give me the css code, and I will replace it, if it doesn’t work, I will share the image and access with youJanuary 9, 2024 at 4:06 pm #528300
Luke NielsenKeymasterHello,
I didn’t share your website. Please try to use the below code instead of the previous one.
.product-grid-item .wd-product-countdown { order: 1; } .product-grid-item .product-element-top { order: 2; } .product-grid-item .product-element-bottom { order: 3; }
Kind Regards
January 9, 2024 at 4:32 pm #528329
av_admin_1984ParticipantI’m tired of you misunderstanding everything I told you
cheek private content
1-I want to put the “SOLD OUT” at the bottom of the product card in the catalog like image SOLD-OUT.jpg
2- Want to change the count-down and discount like this image: Screenshot-2024-01-02-141852.pngfirst cheek the private area
then login to site, import 1 demo and then apply the changesJanuary 9, 2024 at 5:01 pm #528348
Luke NielsenKeymasterHello,
1. Changing the position of the countdown timer is possible but your staging site uses the old version of the theme, in the newest version the structure of the product grid was changed so the code custom will not work correctly if on the production you use the 7.4 update and above. So please update the theme on the staging platform and I will send you the custom code for changing the position of the countdown timer.
2. There is no way to make only the “discount” and “Sold out” at the bottom like on your image, Such modification requires complicated code customization which is not covered by our support.
Kind Regards
January 10, 2024 at 11:13 pm #528853
av_admin_1984ParticipantHi
Just tell me about number 2. witch file is responsible, I will change my selfJanuary 11, 2024 at 6:28 pm #529091
Luke NielsenKeymasterHello,
It depends on the design that you have selected in Theme Settings. In
wp-content/themes/woodmart/woocommerce
you can see files that start ascontent-product-
and ends with the name of the design: https://prnt.sc/ooIy52x0IXwC so check which design you have in Theme Settings and edit an appropriate file.Thank you for your time and have a good day!
Kind Regards
January 15, 2024 at 10:15 am #529738
av_admin_1984ParticipantHi
I found the files and edited them, but if I update the theme, all modifications will be removed,
Want to put them in a chiled theme,
do you have any experience?January 15, 2024 at 12:55 pm #529846
Luke NielsenKeymasterHello,
You can copy the path to the appropriate design to the child theme, e,g
child theme/woocommerce/content-product-buttons-on-hover.php
thus you override the default file with your custom via child theme.Let me know if you have any questions.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register