Hello everyone, I’m trying to add a container to hold my store badge to the product page and checkout page via custom code. But the image is overlay on other element this is the image of what I’m trying to say
And here is the code I used
.secondBadge{
position: absolute;
content: '';
background: transparent url(https://cdn.shopify.com/s/files/1/0620/1144/1352/files/vestra_Guarantee.png?v=1658502629) no-repeat center/contain;
width: 100%;
height: 10%;
display: flex;
}
<div class="secondBadge"></div>
I put the css in theme.scss.liquid of the assets and the html in the product-template.liquid of the snippet

