Home › Forums › WoodMart support forum › Product pics discount percentage value how to move
Product pics discount percentage value how to move
- This topic has 12 replies, 2 voices, and was last updated 1 year, 10 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
August 14, 2023 at 8:11 pm #488660
nvkbul86ParticipantHello,
How to move the percentage discount value( those little circles) on single product pics from top to bottom corner of the pics.
On descstop it is at the top right corner, on mobile top left. I’d like to move it to bottom right corner both mobile and descstop. Also how can I change to color of the background of those discount bubbles?
Thanks!
Woodmart + ElementorAttachments:
You must be logged in to view attached files.August 15, 2023 at 11:05 am #488809
Aizaz Imtiaz AwanKeymasterHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.woocommerce-product-gallery .product-labels[class*=labels-rounded] { top: 500px; right: 30px; }
Try to add the following code for background color:
.product-label.onsale { background-color: red; }
Best Regards
September 7, 2023 at 4:00 pm #494144
nvkbul86Participanthello,
I tried this but it didn’t work. Please see screenshot attached. The discount bubbles are still top left and blue color.
Thanks!Attachments:
You must be logged in to view attached files.September 7, 2023 at 4:17 pm #494162
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the WP admin login details of your site so I can check and give you a possible solution?
Best Regards.
September 7, 2023 at 4:37 pm #494167
nvkbul86Participantok, please see user and pass
September 7, 2023 at 5:56 pm #494197
nvkbul86Participantlogin info attached as a Extra information (visible to moderators only
September 8, 2023 at 9:31 am #494338
Aizaz Imtiaz AwanKeymasterHello,
The previous code is working fine on your site:
Screenshot for clarification:
https://ibb.co/6Z2QL5cSometimes, outdated or cached files can cause display issues. Check back your site after completely clearing the browser cache.
Best Regards.
September 8, 2023 at 10:57 am #494367
nvkbul86ParticipantHello,
I cleared browser history (cashe) but product category page and home page also, the location of the discount signs didn’t change. Please see screenshot attachedAttachments:
You must be logged in to view attached files.September 8, 2023 at 2:31 pm #494421
Aizaz Imtiaz AwanKeymasterHello,
Please check the issue in incognito mode and let me know.
Best Regards.
September 9, 2023 at 1:56 pm #494604
nvkbul86ParticipantHello,
Yes, checked many times with different browsers, all cashe cleared and in incognito mode.
Well, on the category pages, the location of the element is still on the top left side of the image. At least the color changed to red as requested.
On the singe product pages the element moved to the bottom right corner of the images, but this is only on Single Product pages.
Anyway, Google Search Console detected issue with these changes, becaause on Mobile Usability the element is located out of the image frame and too close to the header. Please see all screenshots attached.
So my suggestion is: How to edit the Global CSS code you sent me at the beginning so the discount element move to the top right corner of the images ( both single product and category pages grid)Attachments:
You must be logged in to view attached files.September 9, 2023 at 3:17 pm #494624
Aizaz Imtiaz AwanKeymasterHello,
I have unable to access your site:
https://ibb.co/PcQ5LfBPlease give the site so i will further check and give you a possible solution.
Best Regards.
September 12, 2023 at 11:37 pm #495439
nvkbul86ParticipantWell, I removed the previous code today because of the mobile issue. Could you please move the object to the top right corner of the product images in product category page and single product page.
September 13, 2023 at 2:39 pm #495615
Aizaz Imtiaz AwanKeymasterHello,
Try to use the below code, define it in Theme Settings -> Custom CSS -> Custom CSS for desktop:
.product-grid-item .product-labels { position: relative; left: 230px; }
Try to use the below code, define it in Theme Settings -> Custom CSS -> Custom CSS for mobile:
.product-grid-item .product-labels { position: relative; left: 287px; }
Best Regards.
-
AuthorPosts
Tagged: discount bubbles move top bottom
- You must be logged in to create new topics. Login / Register