Remove section margin/padding for Sense theme

Solved

Remove section margin/padding for Sense theme

candycoatbeauty
Tourist
7 0 4

Hi Everyone!

I am having some trouble with removing the margin underneath the header section on my collections page. collectionpage.pngHere 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!

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
9873 2352 2949

This is an accepted solution.

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;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1698530677425.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.

View solution in original post

Replies 10 (10)

Made4uo-Ribe
Shopify Partner
9873 2352 2949

Hi @candycoatbeauty 

Would you mind to share your Store URL website? with password if its unpublish. 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.
candycoatbeauty
Tourist
7 0 4

the url is:

9ea2a0-2.myshopify.com

 

password: 

chewim

 

thank you!

Made4uo-Ribe
Shopify Partner
9873 2352 2949

This is an accepted solution.

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;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1698530677425.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.
candycoatbeauty
Tourist
7 0 4

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

Are you able to assist me with one more thing? 

candycoatbeauty_0-1698531516309.png

candycoatbeauty_1-1698531550057.png

candycoatbeauty_2-1698531589639.png

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!!!

 

Made4uo-Ribe
Shopify Partner
9873 2352 2949

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. 

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.
candycoatbeauty
Tourist
7 0 4

Hi! 

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

BLACKSTARZ
Visitor
1 0 0

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.

Scherm­afbeelding 2025-01-15 om 13.30.12.png

Made4uo-Ribe
Shopify Partner
9873 2352 2949

Hi @BLACKSTARZ 

Thanks for reaching out, would you mind to share your store URL and which area you like to remove the margin? 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.
candycoatbeauty
Tourist
7 0 4

the url is:

9ea2a0-2.myshopify.com

 

password: 

chewim

PageFly-Richard
Shopify Partner
4902 1102 1779

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

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.