Help removing white space between top and bottom of collection area

Solved

Help removing white space between top and bottom of collection area

techab
Visitor
2 0 1

I am trying to remove the white space between the bottom of the header (and the top of the footer) between the top and bottom for the featured collection area on my homepage. I removed the header margin and made it zero but I can't seem to figure out what code or what to edit to make this white bar disappear. Can someone help guide me?

 

Here is the link: https://0xyqxj-jv.myshopify.com/ it is running on a Shopify temporary link since I don't have a domain of my own to register yet as I am trying out Shopify.

Accepted Solution (1)
suyash1
Shopify Partner
10952 1357 1733

This is an accepted solution.

@techab - add padding , else if we remove the space then it will look like this

 

suyash1_0-1746780220877.png

 

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

View solution in original post

Replies 4 (4)

suyash1
Shopify Partner
10952 1357 1733

@techab - please open your page in customize settings and go to these sections, your have set padding top and bottom to them, reduce it to the number you want and check, it can look like this. If you want then you can contact me here or on my email below

 

suyash1_0-1746778760751.png

 

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
techab
Visitor
2 0 1

The padding for the featured collection section is set to 0 already. It seems to be an issue with the headline, if it is blank, it has white space, if I type in text, it fills the section with the background color but I would like to not have a headline or title so I am trying to remove the white space and just have the background color fill the gap. 

suyash1
Shopify Partner
10952 1357 1733

This is an accepted solution.

@techab - add padding , else if we remove the space then it will look like this

 

suyash1_0-1746780220877.png

 

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

Made4uo-Ribe
Shopify Partner
10184 2417 3060

Hi @techab 

Check this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:
footer.footer {
    padding-top: 0;
}

.grid.product-grid.contains-card.contains-card--product.contains-card--standard {
    margin-top: 0;
    padding-top: 20px;
}
  • And Save.
  • Result:
  • Made4uoRibe_0-1746788401691.png

     

 

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.