New Shopify Certification now available: Liquid Storefronts for Theme Developers

Remove section margin/padding for Sense theme

Solved
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
4243 981 1196

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!

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 8 (8)
Made4uo-Ribe
Shopify Partner
4243 981 1196

Hi @candycoatbeauty 

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


candycoatbeauty
Tourist
7 0 4

the url is:

9ea2a0-2.myshopify.com

 

password: 

chewim

 

thank you!

Made4uo-Ribe
Shopify Partner
4243 981 1196

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!

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


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
4243 981 1196

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. 

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


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. 

candycoatbeauty
Tourist
7 0 4

the url is:

9ea2a0-2.myshopify.com

 

password: 

chewim

PageFly-Richard
Shopify Partner
3678 807 1455

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!


PageFly - #1 Page Builder for Shopify merchants.


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