How do I center collection title on collection page

Solved

How do I center collection title on collection page

alexschar
Tourist
12 0 2

How do I center collection title on collection page on mobile?

https://www.rosegoldco.shop/

Screenshot 2024-03-19 at 4.04.20 PM.jpeg

Accepted Solution (1)

PageFly-Richard
Shopify Partner
4439 1016 1669

This is an accepted solution.

Hi @alexschar 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
@media (max-width: 767px) {
h1.collection-hero__title {
    text-align: center;
}
}
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 2 (2)

PageFly-Richard
Shopify Partner
4439 1016 1669

This is an accepted solution.

Hi @alexschar 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
@media (max-width: 767px) {
h1.collection-hero__title {
    text-align: center;
}
}
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

alexschar
Tourist
12 0 2

any tips on removing the gap between the collection title and the description