How to center collection page description (DAWN Theme)?

Picknick
Excursionist
25 0 7

How is it possible to center the collection page description in the DAWN theme? I aligned the text to center in shopify backend, but it's in the middle of nowhere.

Picknick_0-1635515770806.png

 

Link (draft mode): https://ukrzq6a10uzchdb7-28988211275.shopifypreview.com

Replies 5 (5)

dmwwebartisan
Shopify Partner
12281 2546 3694

@Picknick 

lease Go to Online Store->Theme->Edit code then go to assets/component-collection-hero.css- ->paste below code at the bottom of the file. 

.collection-hero__title+.collection-hero__description {
    margin: 0 auto !important;
}

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

LitCommerce
Astronaut
2860 684 732

Hi @Picknick,

Please follow these steps:
- Step 1: Go to Online store > Themes > Actions > Edit code.
- Step 2: Go to Assets > component-collection-hero.css and paste this at the bottom of the file:

.collection-hero__description{
    text-align: center !important;
    max-width: 100% !important;
}

Hope it helps!

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool.
Effortlessly sell on biggest marketplaces like Amazon, Etsy, eBay, Facebook etc with bulk listing tool, real-time sync & smart order management. Use LitCommerce free for 1-year now!
LitCommerce
Astronaut
2860 684 732

Hi @Picknick,

If it helped you solve your issue, please mark it as a solution. Thank you and good luck.

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool.
Effortlessly sell on biggest marketplaces like Amazon, Etsy, eBay, Facebook etc with bulk listing tool, real-time sync & smart order management. Use LitCommerce free for 1-year now!
amanda82
Shopify Partner
1 0 0

Does a similar code work to do this to the headings of all collections also??

Thanks Amanda

VivianB
Visitor
1 0 0

This code helped me! Thank you so much! (Don't forget to click "run" after you pasted the code!)