Shopify themes, liquid, logos, and UX
The space between collection title and product grid is to big, what's the css code to adjust the space?
Solved! Go to the solution
This is an accepted solution.
Hi @InnoTier
I hope you're doing well.
The issue with the extra space on your collection page is not due to any margin or padding but rather an empty Rich Text section appearing after the title. You can resolve this by removing or deleting that section if it’s not in use. Here’s how you can do that:
Note: If this solution doesn't work, feel free to contact me, and I’ll personally check and explore other options for you.
Here is the proof that the space is due to an extra section
If this solution helps you, kindly like this reply and mark it as a solution.
If you need an expert Shopify developer for customization and development, feel free to contact me via email or WhatsApp.
Email: [email protected]
WhatsApp: +92 343 0211536
First find the class for this section (right click, then inspect). Once you find the class, you can add the css.
.section-class{
margin-bottom:10px;
}
If you share a link to the page I can add the actual css you'll need to add.
Sure, this is the link to the page: https://innotier.com/collections/travel-must-haves
thank you
This is an accepted solution.
Hi @InnoTier
I hope you're doing well.
The issue with the extra space on your collection page is not due to any margin or padding but rather an empty Rich Text section appearing after the title. You can resolve this by removing or deleting that section if it’s not in use. Here’s how you can do that:
Note: If this solution doesn't work, feel free to contact me, and I’ll personally check and explore other options for you.
Here is the proof that the space is due to an extra section
If this solution helps you, kindly like this reply and mark it as a solution.
If you need an expert Shopify developer for customization and development, feel free to contact me via email or WhatsApp.
Email: [email protected]
WhatsApp: +92 343 0211536
Another question, how to change the font size of collection title in mobile without affecting the font size of computer? Thanks
Hi @InnoTier,
You can make the mentioned change by adding a simple line of code.
.section-template--17192625963243__rich_text_zae8mP-padding {
padding: 0 !important;
}
Paste this code to your base.css
Go to your online store> themes > Click on three dots of current active theme > edit code > search base.css in the left sidebar > open it and paste the code.
I hope this helps! If it does, please like it and mark it as a solution!
If you need further assistance, feel free to reach out!
Regards,
Sweans
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