Solved

How to change the width a specific section

memahmudhassan
Excursionist
13 0 5

How to change the slideshow width? I don't it that long. I want it in the middle with empty/specific color on right and left side.

 

Website:

https://prettycious.com/

 

Screenshot 2024-05-09 010617.png

MAHAMUD H.
Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
5930 1427 1756

This is an accepted solution.

Hi @memahmudhassan 

Check 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: 1000px){
slideshow-carousel#carousel-template--22115827351868__slideshow {
    max-width: 90%;
    margin: auto;
}
section#shopify-section-template--22115827351868__slideshow {
    background: bisque;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1715203858383.png

Note: You can change the color, and also i didnt include in the mobile view. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. 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.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
5930 1427 1756

This is an accepted solution.

Hi @memahmudhassan 

Check 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: 1000px){
slideshow-carousel#carousel-template--22115827351868__slideshow {
    max-width: 90%;
    margin: auto;
}
section#shopify-section-template--22115827351868__slideshow {
    background: bisque;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1715203858383.png

Note: You can change the color, and also i didnt include in the mobile view. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. 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.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


memahmudhassan
Excursionist
13 0 5

Thanks again! but how can i change the background color through code? or I have to change through the color name only?

MAHAMUD H.