How can I center product descriptions using Custom Liquid code in Studio theme?

How can I center product descriptions using Custom Liquid code in Studio theme?

Malwina
Visitor
1 0 1

Hi. I have a code in Custom Liquid <div class="page-width>" <div class="rte"> {{product.description}} </div> </div> Thanks to this, the product description is displayed under the product image. But how to make the text look nice and centered. Now it is stretched from left to right without any margins. Studio Theme. Thank you in advance.

Replies 3 (3)

webwondersco
Shopify Partner
1113 164 162

@Malwina, Hope you are doing well.

 

could you please share your store URL and screenshot where you would like to change and how you would like to display?

Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram

Made4uo-Ribe
Shopify Partner
6937 1647 2034

Hi @Malwina,

The margins and the center align are by CSS you can put together also the the liquid code but you need to used style tag <style></style> or you can also paste it on the css file. If you would mind to share your URL website? with password we can help you to provide the code. Thanks! 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

dmwwebartisan
Shopify Partner
12321 2551 3715

@Malwina 

Please share your store URL!

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app