Shopify themes, liquid, logos, and UX
Hi I want to reduce the size of my collection title in my collection page : PRO CLUB T-SHIRTS
And I also want to center the title and the description text.
Here is the link :https://www.five-pocket.com/collections/pro-club-tshirts
Thanks in advance.
- Here is the solution for you @imazele
- Please follow these steps:
- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
.collection-hero__title {
font-size: 26px !important;
text-align: center !important;
}
@media screen and (min-width: 750px) {
.collection-hero__title+.collection-hero__description {
width: 100% !important;
max-width: 100% !important;
padding-left: 15% !important;
padding-right: 15% !important;
text-align: center !important;
}
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Hi Thanks,
It works on desktop but on mobile as you can see down below on the picture the description text isn't center align. Can you please tell me how to correct that ?
Here is the link of my collection page : https://www.five-pocket.com/collections/pro-club-tshirts
Here is the picture :
Can you add more this code @imazele
.collection-hero__title+.collection-hero__description {
text-align: center !important;
}
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Hello @imazele
indly, follow the below steps to fix your problem:
1) From your Shopify admin dashboard, Go to Online Store
2) Choose the theme which you wanna edit and click on Edit Code
3) Add this code in the end of theme. liquid file above </body>
<style>
.collection-hero__text-wrapper {
text-align: -webkit-center !important;
}
.collection-hero__title {
font-size: x-large !important;
}
</style>
Result:
If I was able to help you and my solution worked well for then, please don't forget to Like it and Mark it as Solution.
Best Regards,
Aatiqa
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025