Re: Resizin collection description

Solved

Resizin collection description

radaApeta
Excursionist
28 0 7

Hello,

pretty dumb question, but i didnt find it nowhere. I would like to resize the description in all my collections. I want it to be smaller. Thank you 

https://81e325-28.myshopify.com/
0007

radaApeta_0-1721994018371.png

 

valenta14
Accepted Solution (1)

Rahul_dhiman
Shopify Partner
424 83 84

This is an accepted solution.

Hello @radaApeta 
Go to online store ---------> themes --------------> actions ------> edit code------->assets ---> component-collection-hero.css----> line number 51
search this code

@media screen and (min-width: 750px) {
.collection-hero__title + .collection-hero__description {
font-size: 1.8rem;
margin-top: 2rem;
margin-bottom: 2rem;
}


and replace with this code

@media screen and (min-width: 750px) {
.collection-hero__title+.collection-hero__description {
font-size: 13px;
margin-top: 2rem;
margin-bottom: 2rem;
}
}

 and the result will be
6.png


If this was helpful, hit the like button and mark the job as completed.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167

View solution in original post

Replies 4 (4)

Small_Task_Help
Shopify Partner
749 24 65

At theme.scss.liquid, styles.css.liquid, or similar

Add or modify CSS rules

CSS example

.collection-description {
  font-size: 16px; /* Adjust the size as needed */
}

Ensure that any changes you make look good for all the devices

To Get Shopify Experts Help, E-mail - hi@ecommercesmalltask.com
About Us - We are Shopify Expert Agency
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad

niraj_patel
Shopify Partner
2378 514 511

Hello @radaApeta 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 750px) {
.collection-hero__description {
max-width: 100% !important;
}
.collection-hero__title+.collection-hero__description {
font-size: 14px !important; /*adjust according to you*/
}
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

Rahul_dhiman
Shopify Partner
424 83 84

This is an accepted solution.

Hello @radaApeta 
Go to online store ---------> themes --------------> actions ------> edit code------->assets ---> component-collection-hero.css----> line number 51
search this code

@media screen and (min-width: 750px) {
.collection-hero__title + .collection-hero__description {
font-size: 1.8rem;
margin-top: 2rem;
margin-bottom: 2rem;
}


and replace with this code

@media screen and (min-width: 750px) {
.collection-hero__title+.collection-hero__description {
font-size: 13px;
margin-top: 2rem;
margin-bottom: 2rem;
}
}

 and the result will be
6.png


If this was helpful, hit the like button and mark the job as completed.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167

Sweans
Shopify Partner
380 71 112

Hi @radaApeta ,

 

If you need to reduce the size of all collection description in your website easily, follow the steps given below.

 

Go to your Shopify Admin Dashboard.

>Navigate to Online Store > Themes.

>Find your active theme and click on "Actions" -> "Edit code".

>In the "Assets" folder, open the CSS file (e.g: base.css, theme.css, or another relevant file).

 

Add the following CSS at the bottom of the file:

 

@media screen and (min-width: 750px) {

    .collection-hero__title+.collection-hero__description {

        font-size:16px!important;

    }

}

@media screen and (max-width: 750px) {

.collection-hero__title+.collection-hero__description {

        font-size:14px!important;

    }

}

 

 

Result:-

 

Sweans_1-1721997147243.png

Sweans_2-1721997183226.png
Regards,
Sweans

 

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com