collapsible content width

pongopetfood
Tourist
12 0 4

Hello, 

 

I made my collapsible content into 2 columns, but I would like them to be aligned with the grey bloc text above. 

 

Is it possible to do that with code ? 

 

Thanks Capture d’écran 2023-10-26 à 17.11.50.png

Replies 9 (9)
Made4uo-Ribe
Shopify Partner
4258 983 1200

Hi @pongopetfood 

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


pongopetfood
Tourist
12 0 4

Yes : 

https://pongopetfood.com

password: seunti

 

Thanks

Made4uo-Ribe
Shopify Partner
4258 983 1200

Thanks for the info, where can i find this collapible? If you still working on it you can share the preview. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


pongopetfood
Tourist
12 0 4

In the section "Les insectes"

 

Capture d’écran 2023-10-26 à 17.58.21.png

Made4uo-Ribe
Shopify Partner
4258 983 1200

Thanks try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (min-width: 749px){
.collapsible-content.collapsible-none-layout.isolate.content-container.content-container--full-width {
    padding: 0 6.4rem;
}
.accordion summary {
    padding: 2rem;
}
.collapsible-content-wrapper-narrow {
    padding: 0px;
}
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1698336999242.png
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


pongopetfood
Tourist
12 0 4

Thanks, It's much better but it's not perfectly aligned, do you have a solution ? 

 

Capture d’écran 2023-10-26 à 18.20.25.png

Made4uo-Ribe
Shopify Partner
4258 983 1200

Maybe this one. 

Same Instruction. 

@media only screen and (min-width: 749px){
.collapsible-content.collapsible-none-layout.isolate.content-container.content-container--full-width {
    max-width: 91%;
    margin: auto;
}
}

And Save. 

Result:

Made4uoRibe_0-1698341556556.png

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


pongopetfood
Tourist
12 0 4

It's the same..

pongopetfood
Tourist
12 0 4

I put 86% instead of 91% and it's working now, thank you!!