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

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

memahmudhassan
Excursionist
37 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
9870 2351 2947

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
memahmudhassan
Excursionist
37 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
37 0 9

Hi, any solution for this one?

MAHAMUD H.