New Shopify Certification now available: Liquid Storefronts for Theme Developers

Keep the text at the same position even when i change the size of this article

JADIS
Explorer
169 1 19

Good morning,


Why when I change the size of this item for example ( https://jadis-shop.com/products/doudoune-tnf-700-nupste-retro-1996 ) The text under the price also moves.... I would like that no matter if I change the size of the item or not, the text "↑PRIX NEUF‎ ‎ ‎ ‎ ↑PRIX SUR JADIS" remains PRECISELY at the same position please.

sdfsdf.PNG

Capture.PNG

  


Do you know how to do it please?

 

Theme: Dawn
Website: jadis-shop.com
password:rj


thanks in advance

Replies 4 (4)
Moeed
Shopify Partner
3051 761 925

Hey @JADIS 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.product__tax.caption.rte {
    margin-top: -15px !important;
}
</style>

RESULT:

Moeed_0-1696425522129.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
JADIS
Explorer
169 1 19

you just lowered the text, but you did not solve the problem of changing the location of the text when you change the size with the variant selector... what should I do please? 

syedsumaimaly
Explorer
147 16 17

Hi @JADIS 

Follow these Steps:
Go to Online Store Edit Code Find theme.liquid file or base.css
Add the following code in the bottom of the file above </body> tag

.product__tax.caption.rte {
    padding-top: 10px;
}

syedsumaimaly_0-1696425655854.png

If I managed to help you then, don't forget to Like it and Mark it as Solutions.

 

JADIS
Explorer
169 1 19

you just lowered the text, but you did not solve the problem of changing the location of the text when you change the size with the variant selector... what should I do please?