We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Reducing Collection Title Size in Product Preview

Solved

Reducing Collection Title Size in Product Preview

KimGottwald
Trailblazer
235 0 34

Hi everyone,

I’m looking to make the collection title smaller in the product preview section on my Shopify store. Is there a specific setting for this, or would I need to add some custom CSS?

Here’s my store preview link: https://www.rappid.run/collections/frontpage
Password: Password

Thanks in advance for your help!

Best,
Kim

 

Bildschirmfoto 2024-11-01 um 5.32.41 AM.png

Accepted Solution (1)

websensepro
Shopify Partner
2144 268 319

This is an accepted solution.

Hi @KimGottwald ,


1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

If my reply is helpful, kindly click like and mark it as an accepted solution.

 

<style>
html .collection__title.title-wrapper, html .collection__title--desktop-slider .title { 
    font-size: 20px !important; 
}
</style>

 

If you are happy with my help, you can help me buy a COFFEE

Thanks!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP

View solution in original post

Replies 4 (4)

DaisyVo
Shopify Partner
4469 501 598

Hi @KimGottwald 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

main#MainContent:has(product-info) div.collection .collection__title .title {
   font-size: 18px !important;
}

 

Here is the result: https://prnt.sc/-N5iD4JRY0f5 
 
I hope this helps
 
Best
 
Daisy
Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution
KimGottwald
Trailblazer
235 0 34

Thank you! Is it also possible to only change the font size on mobile?

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

Hi @KimGottwald 

You can do that by adding this code below into Custom CSS in Online Store > Themes > Customize > Theme settings 

html .collection__title.title-wrapper, 
html .collection__title--desktop-slider .title { font-size: 22px !important; }

 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

websensepro
Shopify Partner
2144 268 319

This is an accepted solution.

Hi @KimGottwald ,


1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

If my reply is helpful, kindly click like and mark it as an accepted solution.

 

<style>
html .collection__title.title-wrapper, html .collection__title--desktop-slider .title { 
    font-size: 20px !important; 
}
</style>

 

If you are happy with my help, you can help me buy a COFFEE

Thanks!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP