Solved

How can I adjust the width of a collection description?

Lemoni-bio
Tourist
8 0 4

Hi guys, I am trying to change the width of the collection description, now it looks a bit weird and out of shape:)

How can I make the text block wider
Store url is https://www.paleopowders.com/collections/collageen-hydrolysaat

Lemonibio_0-1687436430451.png

Any help is much appreciated:)

 

Accepted Solution (1)

made4Uo
Shopify Partner
3821 716 1151

This is an accepted solution.

Hi @Lemoni-bio 

 

It looks like you have an option in your theme to change the width of this block without using the code. Currently, it was set on xs.

 

You can also adjust this using the code. See instructions below. I also added a justify alignment. Please check the result before using this as a solution

 

1. From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
2. Go to Asset folder and open the theme.css file
3. At very end of the code, add the code below

 

.container.container--xs {
    max-width: 80rem;
    width: 100%;
    margin: auto;
    padding: 0 3rem;
}

.collection-description {
    text-align: justify;
}

 

Result here

made4Uo_0-1687449260290.png

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free

View solution in original post

Replies 4 (4)

suyash1
Shopify Partner
9266 1152 1495

@Lemoni-bio - open this collection in customize settings and check if it has an option to increase the width, else add this css to the end of your theme.css file and check

 

for now it is for desktop, you can change numbers as per the need

 

suyash1_0-1687444449198.png

 

@media screen and (min-width:1023px){
.shopify-section--collection-banner .container{width: 80%;  max-width: 80%;  margin: 0 auto;}
}

 

To build shopify pages use pagefly
You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI

made4Uo
Shopify Partner
3821 716 1151

This is an accepted solution.

Hi @Lemoni-bio 

 

It looks like you have an option in your theme to change the width of this block without using the code. Currently, it was set on xs.

 

You can also adjust this using the code. See instructions below. I also added a justify alignment. Please check the result before using this as a solution

 

1. From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
2. Go to Asset folder and open the theme.css file
3. At very end of the code, add the code below

 

.container.container--xs {
    max-width: 80rem;
    width: 100%;
    margin: auto;
    padding: 0 3rem;
}

.collection-description {
    text-align: justify;
}

 

Result here

made4Uo_0-1687449260290.png

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
WholeHarmony
Shopify Partner
1 0 0

Hi @made4Uo question for you as a non-technical person. In my theme, Prestige 4.1.0 I don't seem to have a theme.css but I do have a 'theme.liquid' file. Additionally, I see there are the following collection specific files within the 'sections' folder of files: collection-template.liquid, custom-html.liquid, featured-collections.liquid, featured-product.liquid, and featured-video.liquid. Where should I add the script to adjust the collection description width? I'm having the same issue as @Lemoni-bio . Thank you in advance! 🙏🏼

made4Uo
Shopify Partner
3821 716 1151

Hi, 

 

You would need a different code. Please provide your website

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free