Solved

Left-align collection description and make it hidden after exceeding x length

alexanderdoss
New Member
6 0 0

I want to left-align the collection description and make it expandable/collapsible after a certain length. How would I go about this? I use focal as a theme. 

Accepted Solution (1)
Natasha-Saed
Shopify Partner
396 43 69

This is an accepted solution.

1) Go to online store
2) Click on Edit Code
3) Open your theme.css file
4) Paste the below code at the bottom and save

.page-header__text-wrapper {text-align: left; margin-left: 0px !important; max-width: 100%;}

 

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint

View solution in original post

Replies 9 (9)

Natasha-Saed
Shopify Partner
396 43 69

Hi,

 

Will you please share your store URL to be able to assist you on this.

 

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint
alexanderdoss
New Member
6 0 0

Thank you! dossify.se

alexanderdoss
New Member
6 0 0

Can this be done? 🙂

alexanderdoss
New Member
6 0 0

Anyone have a solution for this?

Natasha-Saed
Shopify Partner
396 43 69

Hi,

 

Sure it can be done, I just need your store URL to be able to give you the code for it 🙂

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint
alexanderdoss
New Member
6 0 0

Hi, 

 

I posted it above. Its dossify.se

Natasha-Saed
Shopify Partner
396 43 69

This is an accepted solution.

1) Go to online store
2) Click on Edit Code
3) Open your theme.css file
4) Paste the below code at the bottom and save

.page-header__text-wrapper {text-align: left; margin-left: 0px !important; max-width: 100%;}

 

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint
alexanderdoss
New Member
6 0 0

Thank you, this worked for left align! 

Is it possible to make it collapsible after say 8 rows?

Natasha-Saed
Shopify Partner
396 43 69

Glad I could help.  For the collapsible content follow this thread https://community.shopify.com/c/technical-q-a/add-collapsible-tab-show-more-to-collection-descriptio...

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint