Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
how do i place this text in the center of the screen, when i do "text_align: center;" it just changes how the text looks, but not its placement.
store link: https://8c2dd1-3.myshopify.com/collections/best-sellers
1: Online store > themes > Actions > Edit code > Assets > theme.css
2: paste at last
.collection-description {
margin: 0 auto;
}
Hello @sondreskskfsghj ,
It's the GemPages Support Team and we are glad to assist you today!
I would like to give you the recommendation to support you so kindly follow the steps below:
1. Go to Online Store > Theme > Edit code of your current theme
2. Open your theme.liquid theme file
3. Paste the below code before </head>
<style>
.collection-description {
margin: 0 auto;
}
</style>
Let us know how it works for you.
Best regards,
GemPages Support Team
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025