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.
Link (draft mode): https://ukrzq6a10uzchdb7-28988211275.shopifypreview.com
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.
Link (draft mode): https://ukrzq6a10uzchdb7-28988211275.shopifypreview.com
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!
Hi @Picknick ,
Please follow these steps:
.collection-hero__description{
text-align: center !important;
max-width: 100% !important;
}
Hope it helps!
Hi @Picknick ,
If it helped you solve your issue, please mark it as a solution. Thank you and good luck.
Does a similar code work to do this to the headings of all collections also??
Thanks Amanda
This code helped me! Thank you so much! (Don’t forget to click “run” after you pasted the code!)
After reading many forums, watching videos & testing codes.. this was the BEST solution.
“max-width: 100% !important;” is what i needed
also, instead of heading to Online Store->Theme->Edit code->Assets/component-collection-hero.css-themes and editing the code , you can do it from the customizing page
customise your theme
click on a collection
click on the collection banner
banner settings will show and enter the code into Custom CSS Section and it should work across all collection pages
pic below for reference
Thank you @LitCommerce