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

How can i change container size of collapsible content in dawn theme?

Solved

How can i change container size of collapsible content in dawn theme?

Motoblox
Excursionist
45 0 7

I want to change the size of the container so that it is not so wide, i will attach pictures to what i wanna do.

if someone can please help

This is what mine looks like:

Screenshot 2024-11-06 at 2.32.59 PM.png And this is how i want it to look like!

Screenshot 2024-11-06 at 2.32.29 PM.png

Accepted Solution (1)
Huptech-Web
Shopify Partner
1169 234 265

This is an accepted solution.

Hello! @Motoblox  Please follow these steps to add this CSS code:

1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open it instead.
5. If you can't find your custom CSS file, open "base.css"
6. Add the following code at the end of the file. 

 

 

 

body .collapsible-content__wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
}

@media screen and (min-width: 750px) {
    body .collapsible-section-layout {
        padding-bottom: 4rem !important;
        padding-top: 4rem !important;
    }
}

 

 

 

HuptechWeb_0-1730885662906.png

If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the Accepted Solution.
Best regards
K.K

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required

View solution in original post

Replies 7 (7)

Huptech-Web
Shopify Partner
1169 234 265

@Motoblox Could you please share the store URL? This will allow me to inspect it and provide you with a more tailored solution.

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required
Motoblox
Excursionist
45 0 7

Moeed
Shopify Partner
7764 2082 2568

Hey @Motoblox 

 

Share your Store URL and Password if enabled.

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Motoblox
Excursionist
45 0 7

https://motoblox.com/pages/faqs this the page i want to modify the containers for collapsible content are too wide i want to make them smaller

 

Huptech-Web
Shopify Partner
1169 234 265

This is an accepted solution.

Hello! @Motoblox  Please follow these steps to add this CSS code:

1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open it instead.
5. If you can't find your custom CSS file, open "base.css"
6. Add the following code at the end of the file. 

 

 

 

body .collapsible-content__wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
}

@media screen and (min-width: 750px) {
    body .collapsible-section-layout {
        padding-bottom: 4rem !important;
        padding-top: 4rem !important;
    }
}

 

 

 

HuptechWeb_0-1730885662906.png

If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the Accepted Solution.
Best regards
K.K

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required
Motoblox
Excursionist
45 0 7

That is exactly what i wanted to do thank you so much! There are a few more things i wanted to know if you can help ?

https://community.shopify.com/c/shopify-design/theme-customisation/m-p/2832434#M741346

this is the thing i wanted to know, still thanks a lot for your help appreciate you!

Huptech-Web
Shopify Partner
1169 234 265

@Motoblox I reviewed the section you shared, and I see the custom slider design you're aiming for. I'd be happy to help you design and develop a tailored slider solution that aligns with your vision. We can work together to create a visually engaging and user-friendly slider, ensuring it seamlessly integrates with your theme and meets any specific functionality you require.

Please feel free to reach out to me at the below Email so we can discuss your requirements in more detail and bring your ideas to life.

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required