Home › Forums › WoodMart support forum › Product attribute label position change
Product attribute label position change
- This topic has 11 replies, 2 voices, and was last updated 3 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
June 21, 2024 at 1:31 pm #574439
Grelo ZhangParticipantIn the product grid, please help me place the attribute label of the product tag in the top right corner.
Attachments:
You must be logged in to view attached files.June 21, 2024 at 4:05 pm #574531
Aizaz Imtiaz AwanKeymasterHello,
Please try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for desktop section:
.product-labels .product-label.attribute-label:not(.label-with-img) { bottom: 3px !important; position: relative !important; left: 120px !important; }
Best Regards.
June 21, 2024 at 6:07 pm #574553
Grelo ZhangParticipantThank you very much, but it is still not neat, please help me check
Attachments:
You must be logged in to view attached files.June 22, 2024 at 9:41 am #574604
Aizaz Imtiaz AwanKeymasterHello,
Please try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for desktop section:
.product-labels { position: relative !important; } .product-labels .product-label.onsale { position: absolute !important; min-width: 50px !important; } .product-labels .product-label.attribute-label:not(.label-with-img) { position: absolute !important; left: 95px !important; padding: 5px 10px !important; min-width: 100px !important; }
Best Regards.
June 22, 2024 at 10:05 am #574611
Grelo ZhangParticipantI would like to know if it is possible to swap the positions of the Sale label and the Attribute label
Please help me again thanks
Attachments:
You must be logged in to view attached files.June 22, 2024 at 1:28 pm #574670
Aizaz Imtiaz AwanKeymasterHello,
Please try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for desktop section:
.product-labels { position: relative !important; } /* Style for the sale label, now placed in the top right corner */ .product-labels .product-label.onsale { position: absolute !important; top: 0 !important; right: 0 !important; left: 140px !important; } /* Style for the attribute label, now placed in the top left corner */ .product-labels .product-label.attribute-label:not(.label-with-img) { position: absolute !important; top: 0 !important; left: 0 !important; min-width: 50px !important; }
Best Regards.
June 22, 2024 at 3:54 pm #574696
Grelo ZhangParticipantI made a demo with the Sale tag at the bottom and the Attribute tag at the top, just like in the picture.
Attachments:
You must be logged in to view attached files.June 24, 2024 at 9:00 am #574805
Aizaz Imtiaz AwanKeymasterHello,
Please try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for desktop section:
.product-labels { position: relative !important; } .product-labels .product-label.attribute-label:not(.label-with-img) { position: absolute !important; top: 0 !important; left: 0 !important; min-width: 100px !important; } .product-labels .product-label.onsale { position: absolute !important; top: 30px !important; /* Adjust this value based on the height of the attribute label */ left: 0 !important; min-width: 50px !important; padding: 5px 10px !important; }
Best Regards.
June 24, 2024 at 10:15 am #574834
Grelo ZhangParticipantOK, thank you very much. I am implementing this custom CSS now, but the single product page label is not in the normal position.
.product-labels { position: relative !important; } /* Style for the sale label, now placed in the top right corner */ .product-labels .product-label.onsale { position: absolute !important; top: 0 !important; right: 0 !important; left: 165px !important; } /* Style for the attribute label, now placed in the top left corner */ .product-labels .product-label.attribute-label:not(.label-with-img) { position: absolute !important; top: 0 !important; left: 0 !important; min-width: 50px !important; }
Attachments:
You must be logged in to view attached files.June 24, 2024 at 1:56 pm #574934
Aizaz Imtiaz AwanKeymasterHello,
Now check back your site and check the issue. I have modified the code on your site.
Best Regards.
June 25, 2024 at 4:39 am #575124
Grelo ZhangParticipantThanks a lot, all is well, this ticket can be closed
June 25, 2024 at 9:25 am #575183
Aizaz Imtiaz AwanKeymasterMost Welcome!!!.
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘Product attribute label position change’ is closed to new replies.
- You must be logged in to create new topics. Login / Register