Hello,
I want to increase the width of this section.
In product page
https://s7092cjts4kj02bd-58506346583.shopifypreview.com
please check,
Best,
Sohan
A user seeks to increase the width of an accordion section on a Shopify product page, providing a screenshot and preview link showing the current narrow layout.
Three solutions were provided, all targeting the same CSS class:
Solution 1: Add inline CSS in theme.liquid before the </body> tag, targeting .collapsible-content__wrapper .collapsible-content-wrapper-narrow with max-width: 100%
Solution 2: Add CSS to main.css (or base.css/style.css), targeting .collapsible-content-wrapper-narrow with max-width: 80%, including a visual result screenshot
Solution 3: Similar approach using theme.liquid, though specific code snippet appears incomplete in the thread
All solutions use !important to override existing styles and suggest the width percentage can be adjusted as needed.
Status: One commenter confirmed the solution worked for them, indicating the issue is resolved.
Hello,
I want to increase the width of this section.
In product page
https://s7092cjts4kj02bd-58506346583.shopifypreview.com
please check,
Best,
Sohan
Hello @Sohan2198
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hi @Sohan2198
Check this one.
.collapsible-content-wrapper-narrow {
max-width: 80% !important;
}
And Save.
Result:
Note: you can adjust the size whatever you want.
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
Hope my solution will help you resolve the issue.
Best regards,
Noah | PageFly
It worked for me. Thank you!