How to add subheading in Collection List and make the text into middle. (Craft theme)

How to add subheading in Collection List and make the text into middle. (Craft theme)

ChampHorse
Tourist
7 0 1

Hi, 

 

I would like to add subheading or text below my heading of Collection List. I want the text smaller and in the middle. For example: 

螢幕截圖 2024-01-27 下午11.33.10.png

 

 

Please help Thank you . 

Replies 2 (2)

Dan-From-Ryviu
Shopify Partner
8479 1671 1683

Hi @ChampHorse 

You can do that by adding this code to your theme.liquid file, under <head> in Online store > Themes > Edit code 

<style>
.collection-hero__text-wrapper {
text-align: center;
}
.collection-hero__description {
max-width: 100% !important;
}
</style>

- Helpful? Like and Accept solution to let me know or Buy me Coffee ❤️!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

ChampHorse
Tourist
7 0 1

Hi, how do i add description on collection list?