remove top padding and section-header top margin only on collection page and desktop

Solved

remove top padding and section-header top margin only on collection page and desktop

sondreskskfsghj
Tourist
41 0 2

hi, i want to remove top padding and section-header top margin for only my collection page and dekstop, so that my collection page looks like this:

sondreskskfsghj_0-1676656717391.png

instead of how it is now:

sondreskskfsghj_1-1676656734956.png

store link: https://8c2dd1-3.myshopify.com/collections/best-sellers

 

Accepted Solutions (2)

PageFly-Kate
Shopify Partner
1371 375 424

This is an accepted solution.

Hi @sondreskskfsghj 

This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/theme.css->paste below code at the bottom of the file:

@media screen and (min-width: 769px){
div#CollectionSection >div {
    padding-top: 0px !important;
}
}

Hope my answer will help you.

 

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


Unlock the secrets to a record-breaking BFCM with PageFly and Canva


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


➜ Weekly updated Shopify tutorials on YouTube


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


View solution in original post

GemPages
Shopify Partner
5625 1262 1279

This is an accepted solution.

Hello @sondreskskfsghj ,

 

You can follow these steps: 
1. Go to Online Store->Theme->Edit code

GemPages_0-1676952124167.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_1-1676952142176.png

    <style>
     #CollectionSection .page-width.page-content .section-header {
          display: none;
      }
    </style>

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

Replies 2 (2)

PageFly-Kate
Shopify Partner
1371 375 424

This is an accepted solution.

Hi @sondreskskfsghj 

This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/theme.css->paste below code at the bottom of the file:

@media screen and (min-width: 769px){
div#CollectionSection >div {
    padding-top: 0px !important;
}
}

Hope my answer will help you.

 

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


Unlock the secrets to a record-breaking BFCM with PageFly and Canva


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


➜ Weekly updated Shopify tutorials on YouTube


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


GemPages
Shopify Partner
5625 1262 1279

This is an accepted solution.

Hello @sondreskskfsghj ,

 

You can follow these steps: 
1. Go to Online Store->Theme->Edit code

GemPages_0-1676952124167.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_1-1676952142176.png

    <style>
     #CollectionSection .page-width.page-content .section-header {
          display: none;
      }
    </style>

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center