We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Symmetry theme move Sale button featured collection

Symmetry theme move Sale button featured collection

Lars_Veldman
Excursionist
21 0 7

Dear all,

Please find the attached image. I would like to modify the CSS so that the red "Sale" buttons in the featured collection section are repositioned to the top left corner of the image. However, I have not been able to achieve this so far.

Unfortunately, I cannot share a URL as the website is not yet live. Does anyone have any suggestions on how to accomplish this?

Best regards,
LarsScherm­afbeelding 2025-02-04 om 15.46.42.jpg

Replies 5 (5)

Moeed
Shopify Partner
7764 2082 2567

Hey @Lars_Veldman 

 

Can you share the preview URL of the draft theme?

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Lars_Veldman
Excursionist
21 0 7
Lars_Veldman
Excursionist
21 0 7

htmlBurger
Shopify Partner
87 8 21
Hello @Lars_Veldman 

Without the store URL, I can only give you brief instructions and depending on the code structure, they might not work properly.
Start by adding some CSS for the SALE badge. Find the CSS file where the badge is styled, and add these rules:

 

 

{
  position: absolute;
  top: 0;
  left: 0;
}

 

 


This will make the badge move to the top left corner of its closest relative element.
So now you have to make the product card relative. Find where the product card is styled and add this code:

 

 

{
  position: relative;
}

 

 

 

If the badge doesn't have any other relative parents, this should be enough.

 

Please try these steps and let me know if you need any help implementing them.
Found this helpful? Like and accept as solution to help others too!
htmlBurger – Founded in 2007, Shopify experts for 10+ years.
Custom themes, UI/UX design, ongoing maintenance & support.
Let's talk: ecom@htmlburger.com
Lars_Veldman
Excursionist
21 0 7

Thank you. Unfortunatly the relative doesn't work