Spacing of the default custom page

Mercado9778
Tourist
6 0 0

 

Hi,

I am having trouble with the default spacing on the custom page. I would like to remove the space around the top image so that it connects directly to the header.

 

Here is the URL of the page:

https://8e394f.myshopify.com/pages/%E7%9D%A1%E7%9C%A0%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6

 

I am new to coding, so any assistance would be greatly appreciated. Thank you!

 

Replies 5 (5)

Moeed
Shopify Partner
3697 932 1166

Hey @Mercado9778 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
section#shopify-section-template--22229197029688__custom_liquid_QFEhBa .section-spacing.bordered-section {
    margin-top: 0;
}
</style>

RESULT:

Moeed_0-1708328572031.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
Mercado9778
Tourist
6 0 0

Thanks for the reply!

 

I added the code like below in the theme.liquid and still the spacing is the same... 

 


</script>
<style>

.section#shopify-section-template--22229197029688__custom_liquid_QFEhBa .section-spacing.bordered-section {
margin: 0;
}
</style>

</body>
</html>

Moeed
Shopify Partner
3697 932 1166

Hey @Mercado9778 

 

Remove the previous code and add this new code with the same steps

<style>
section#shopify-section-template--22229197029688__custom_liquid_QFEhBa .section-spacing.bordered-section {
    margin-top: 0 !important;
}
</style>

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
Mercado9778
Tourist
6 0 0

Thanks again, 

 

I updated the code, but the layout hasn't changed. Do you see the update from the url??

 

Thank you so much for your help. I really appreciate it. 

Moeed
Shopify Partner
3697 932 1166

Hey @Mercado9778 

 

I'm unable to see the code in your website so there might be something which you're doing wrong. If you want I can send a collaborator request to fix this issue for you.

 

Best Regards,

Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️