How to remove Black bars in default Ride theme

Topic summary

Issue: Black/grey bars appearing between homepage sections in the Ride theme; initial attempt to remove via .section+.section { margin-top: 0 !important; } did not work.

Proposed solutions:

  • Edit CSS: Assets/base.css → add body { background: #fff !important; } (alternate variant used body:not(.product__info-wrapper) { background-color: #ffff !important; }).
  • Use theme settings: Customize → Theme settings → Colors → Scheme 1 → set Background color to white or set Background gradient to “no color chosen.”

Outcome: Resolved. The OP removed the bars by editing Theme settings → Colors → Scheme 1 and setting the background gradient to “no color chosen.” They confirmed success and thanked contributors.

Notes:

  • Some replies requested the store URL to verify the issue.
  • Screenshots were shared illustrating the bars and the settings paths.

Status: Closed/resolved with a confirmed fix via color/gradient settings (CSS override is an alternative).

Summarized with AI on December 29. AI used: gpt-5.

I tried everything to remove these black/ Grey bars in the ride theme. I tried to put this code:

.section+.section { margin-top: 0px !important; }

above them head in the theme code editor and it still doesn’t seem to work. Any help is greatly appreciated

1 Like

Hi @memoryusage

Would you mind to share your store URL? Thanks!

1 Like

Hi @memoryusage ,

Could you share your store url? I will help to check then give you a solution.

Yes its,

on the main page it’s the black borders between each section

Hi @memoryusage ,

You can try this code by following these steps:

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file base.css, theme.css or styles.css

Step 3: Insert the below code at the bottom of the file → Save

body:not(.product__info-wrapper) {
    background-color: #ffff !important;
}

Hope this can help you
If our suggestions are useful, please let us know by giving it a like or marking it asa solution. Thank you :heart_eyes: :heart_eyes:

Hi @memoryusage ,

May I suggest to update code these steps:

  1. Go to Store Online-> theme → edit code
  2. Assets/base.css
  3. Add code below to end of file
body {
	background: #fff!important;
}

If you don’t want add code you can go to customize to update color.

  1. Go to Store Online-> theme → customize

  2. Theme settings → Colors → Sheme1

  1. Update background color to white

Thank so much! I also figured it out by going to 1. Theme settings

  1. Colors

  2. Selecting Scheme 1 and then editing the background gradient to “no color chosen”

Appreciate everyone for the help!

Exactly what I did, thank you!