How to change the padding of a specific section (Featured Sollection)

memahmudhassan
Excursionist
23 0 9

My featured collection shows too big too me and i want too change the padding or width what is needed. Please let me know how i can do that. I want it only for Desktop. I don't want any changes for phone.

 

Theme:

Prestige

 

Website:

https://prettycious.com/

 

Screenshot 2024-05-09 010700.png

 

MAHAMUD H.
Replies 3 (3)

Made4uo-Ribe
Shopify Partner
6057 1455 1793

Hi @memahmudhassan 

Do you mean like this? 

Made4uoRibe_0-1715202135250.png

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){
.featured-collections-carousel__item .product-card__figure {
    margin: 10% 10% 0 10%;
}
}

 

And Save. 

Or the whole one including the titles.

Made4uoRibe_1-1715202243422.png

 

@media only screen and (min-width: 749px){
.featured-collections-carousel__item product-card.product-card {
    margin: 10% 10% 0 10%;
}
}

 

And Save. 

Note: you can adjust the % of the margin.

 

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
23 0 9

Hi, no not like this! I want to change the width actually. It's covering the full page which looks bad to me. Let me know i have to change the width or padding .

MAHAMUD H.
memahmudhassan
Excursionist
23 0 9

Hi, any solution for this one?

MAHAMUD H.