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

Re: Extend the length of the collapsible rows

Solved

Extend the length of the collapsible rows

schikinoils
Excursionist
44 0 7

I'd like to widen the length of my product collapsible rows so that they are the same length of the page, aligning them with the images on the left if that makes sense?

I'm using the Dawn Theme and they look like this at the moment. Thank you!

Screenshot 2024-08-28 at 19.18.07.png

Accepted Solution (1)

Vinsinfo
Shopify Partner
491 167 172

This is an accepted solution.

@schikinoils Please follow below steps to increase the length of collapsible rows. Let me know whether it is helpful for you.

 

1. From admin go to "Online Store" -> "Themes".
2. Click action button from the current theme and select "Edit code".
3. Search "collapsible-content.css" file.
4. Paste the below code at the bottom of the file and save changes.

 

.collapsible-content .collapsible-content-wrapper-narrow {
  max-width: var(--page-width);
  padding: 0 5rem;
}

 

 
Result will be like,
Vinsinfo_0-1724918694932.png

 

 
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

Hi @schikinoils 

Check this one.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.collapsible-content-wrapper-narrow {
    max-width: var(--page-width);
    padding: 0 5rem;
}

 

And Save. 

Result:

Made4uoRibe_0-1724874158019.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
schikinoils
Excursionist
44 0 7

Hi thanks for this. I tried to add that code at the very bottom of the base.css but it didn't change anything unfortunately.

Vinsinfo
Shopify Partner
491 167 172

This is an accepted solution.

@schikinoils Please follow below steps to increase the length of collapsible rows. Let me know whether it is helpful for you.

 

1. From admin go to "Online Store" -> "Themes".
2. Click action button from the current theme and select "Edit code".
3. Search "collapsible-content.css" file.
4. Paste the below code at the bottom of the file and save changes.

 

.collapsible-content .collapsible-content-wrapper-narrow {
  max-width: var(--page-width);
  padding: 0 5rem;
}

 

 
Result will be like,
Vinsinfo_0-1724918694932.png

 

 
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support
schikinoils
Excursionist
44 0 7

That worked, many thanks!

schikinoils
Excursionist
44 0 7

sorry mistake