Shopify themes, liquid, logos, and UX
Hi guys!
I have tried everything but can't I get the collection description in the center of the page?
Page: https://kingdompetshop.com/collections/dog-collars-leashes
Theme: Refresh
Pw: abcd
Solved! Go to the solution
This is an accepted solution.
Find 'component-collection-hero.css',
search '.collection-hero__title+.collection-hero__description',
add
margin-left:auto;margin-right:auto;
Final code
.collection-hero__title+.collection-hero__description {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
font-size: 1.6rem;
line-height: calc(1 + .5 / var(--font-body-scale));
/*add*/
margin-left: auto;
margin-right: auto;
}
This is an accepted solution.
Find 'component-collection-hero.css',
search '.collection-hero__title+.collection-hero__description',
add
margin-left:auto;margin-right:auto;
Final code
.collection-hero__title+.collection-hero__description {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
font-size: 1.6rem;
line-height: calc(1 + .5 / var(--font-body-scale));
/*add*/
margin-left: auto;
margin-right: auto;
}
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024