Increase the width of accordion

Solved

Increase the width of accordion

Sohan2198
Excursionist
60 0 3

Hello, 
I want to increase the width of this section.

In product page 

Sohan2198_0-1719424832201.png 

 

https://s7092cjts4kj02bd-58506346583.shopifypreview.com

 

please check,

Best,
Sohan

 

Shopify_
Accepted Solutions (3)

techlyser_web
Shopify Partner
1780 330 357

This is an accepted solution.

Hello @Sohan2198 

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>
.collapsible-content__wrapper .collapsible-content-wrapper-narrow{
max-width: 100% !important; /*adjust according to you*/
}
</style>

techlyser_web_0-1719425297275.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || 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

View solution in original post

Made4uo-Ribe
Shopify Partner
6884 1640 2025

This is an accepted solution.

Hi @Sohan2198 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.collapsible-content-wrapper-narrow {
    max-width: 80% !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1719425320600.png

    Note: you can adjust the size whatever you want. 

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.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

PageFly-Noah
Shopify Partner
1317 233 268

This is an accepted solution.

This is Noah from PageFly - Shopify Page Builder App

 

Hi @Sohan2198  please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>

 

<style>
.collapsible-content-wrapper-narrow{
    max-width: 1200px !important;
    padding: 0px !important;
}

</style>

 

Hope my solution will help you resolve the issue.

 

Best regards,

Noah | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 3 (3)

techlyser_web
Shopify Partner
1780 330 357

This is an accepted solution.

Hello @Sohan2198 

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>
.collapsible-content__wrapper .collapsible-content-wrapper-narrow{
max-width: 100% !important; /*adjust according to you*/
}
</style>

techlyser_web_0-1719425297275.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || 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

Made4uo-Ribe
Shopify Partner
6884 1640 2025

This is an accepted solution.

Hi @Sohan2198 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.collapsible-content-wrapper-narrow {
    max-width: 80% !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1719425320600.png

    Note: you can adjust the size whatever you want. 

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.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

PageFly-Noah
Shopify Partner
1317 233 268

This is an accepted solution.

This is Noah from PageFly - Shopify Page Builder App

 

Hi @Sohan2198  please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>

 

<style>
.collapsible-content-wrapper-narrow{
    max-width: 1200px !important;
    padding: 0px !important;
}

</style>

 

Hope my solution will help you resolve the issue.

 

Best regards,

Noah | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.