Solved

Make this space smaller (in primary background/gradient background)

nondualreality
Excursionist
29 3 7

hi all, how can i make these two spaces above and below my content smaller?

thanks! www.kidkartz.comScreenshot 2024-02-04 at 3.54.21 PM.pngScreenshot 2024-02-04 at 3.54.26 PM.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
5118 1218 1492

This is an accepted solution.

hi @nondualreality 

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 screen and (max-width: 750px){
.background-secondary .featured-product {
    padding: 2.5rem !important;
}
}

 

And save. 

Result:

Made4uoRibe_0-1707082527470.png

 

 

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.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
5118 1218 1492

This is an accepted solution.

hi @nondualreality 

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 screen and (max-width: 750px){
.background-secondary .featured-product {
    padding: 2.5rem !important;
}
}

 

And save. 

Result:

Made4uoRibe_0-1707082527470.png

 

 

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.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


nondualreality
Excursionist
29 3 7

IMG_0021.jpeg

Thank you! It worked! But now there is an unnecessary space under the image as seen in the screenshot, anyway to fix this as well? ;-;

Made4uo-Ribe
Shopify Partner
5118 1218 1492

Seems like you already solve it. 

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


nondualreality
Excursionist
29 3 7

solved this but another space on the product page is still unsolved, don't know what code i need to delete to get rid of this T^T would really appreciate some pointers! Screenshot 2024-02-06 at 12.43.13 PM.png