Remove section margin/padding for Sense theme

Hi Everyone!

I am having some trouble with removing the margin underneath the header section on my collections page.


Here is a photo of what I am referencing. The theme I am using is “sense”. I am trying to make the entire background for the page pink, using the hex code: #FF9FCA, by removing the off-white margin under the header. I am also looking to make the “collections” header font color white, as well as the collection titles.

I am in dire need of assistance and would greatly appreciate any help!

Thank you!

1 Like

Hi @candycoatbeauty

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

the url is:

9ea2a0-2.myshopify.com

password:

chewim

thank you!

1 Like

the url is:

9ea2a0-2.myshopify.com

password:

chewim

Thank you for the info. Try 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:
h1.title.title--primary.inline-richtext.scroll-trigger.animate--fade-in {
    margin-top: 0px !important;
}
div#shopify-section-template--16856419500269__main * {
    color: white;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Yes! This worked! Thank you So MUCH!!!

Are you able to assist me with one more thing?

The specific sections shown in the photos above all contain text with the font color black (contact page header, about us page header and text, and product page- product titles, descriptions, product info). Are you able to help me change the font color to white? I would like everything—the header and body to all be white.

Thank you!!!

1 Like

Hi!

That worked for the header on the collections page, however, the contact and about me page still have black font.

Hi @candycoatbeauty

This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Base.css

.title.title--primary.inline-richtext.scroll-trigger.animate--fade-in {
    margin-top: 0px !important;
}
#shopify-section-template--16856419500269__main * {
    color: #fff !important;
}

Hope you find my answer helpful!
Best regards,
Richard | PageFly

It was change already, I checked your store today. And give you the remaining black font. But it keeps coming back the color black?

Try this one. Same instruction.

h1.title.title--primary.inline-richtext, h1.main-page-title.page-title.h0, h3.card__heading {
    color: white !important;
}

And Save.

Hey,

So i went to assets but didn’t find any “base.css, style.css or theme.css” file.. can you help me out? i want to delete margin for the whole store.

Hi @BLACKSTARZ

Thanks for reaching out, would you mind to share your store URL and which area you like to remove the margin? Thanks!