Shopify themes, liquid, logos, and UX
please add below code into your theme file called theme.css in the assets folder and hopefully it will fix.
.product-card__figure .badge-list {
position: relative ;
top: 0;
}
.product-card__figure .badge-list .badge--on-sale {
position: absolute;
right: 10px;
top: 0;
}
Thanks
hey, I implemt your code but unfortunaly that didn´t work
can you please put that again because i dont see any code in the file which i mentioned?
now ?
<style>
.product-card__figure .badge-list {
position: relative !important;
top: 0 !important;
}
.product-card__figure .badge-list .badge--on-sale {
position: absolute !important;
right: 10px !important;
top: 0 !important;
}
</style>
Can you please put this code into your theme.liquid file before the </body> tag close i guess there will be some cache issue.
Hi @MS2333
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > theme.css and paste this at the bottom of the file:
badge-list.badge-list.badge-list--vertical {
position: absolute;
top: 0;
}
.bss_pl_img {
position: absolute;
right: 30px;
top: 0;
bottom: 0;
left: 50%;
}
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025