how to place description in center of screen

how to place description in center of screen

sondreskskfsghj
Tourist
41 0 2

sondreskskfsghj_0-1675804090879.png

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

Replies 2 (2)

Kani
Shopify Partner
468 125 232

Hi @sondreskskfsghj 

 

Kani_0-1675821707079.png

 

1: Online store > themes > Actions > Edit code > Assets > theme.css

2: paste at last

 

.collection-description {
    margin: 0 auto;
}

 

 

Hey!! ʕ ᵔᴥᵔ ʔ
Please click 'Like' and ' Accept as Solution' to encourage me to continue sharing my expertise. ♡
If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response. 🙂

GemPages
Shopify Partner
5625 1262 1280

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

GemPages_0-1675829483408.png


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

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center