How to remove lines between sections in District Theme (Liquid)

Solved

How to remove lines between sections in District Theme (Liquid)

JaydenMojo
Excursionist
17 0 2

Hi All,

 

I am struggling to find a resolution to removing lines between sections on our Shopify store. I believe the theme is 'District' and seems to use liquid coding.

 

JaydenMojo_0-1714526108372.png

 

See the above image. 

The grey line currently separates all sections on our homepage on our website.

 

How do I remove these lines to ensure a clean white background across the website?

Thank you in advance,

Jayden

Accepted Solution (1)

PageFly-Henry
Shopify Partner
1184 335 293

This is an accepted solution.

Hi @JaydenMojo 

This is Henry from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: paste bellow code in tag </body> -> save.

PageFlyHenry_0-1714530063466.png

 

 

<style>

[data-section-type="custom-content"], .border-b {

    border-bottom-width: 0 !important;

}

</style>

In case the above code does not work, please share with me the editor url and password page. So I can examine this issue more closely.

Hope that my solution works for you.

Best regards,

Henry | 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.

View solution in original post

Replies 3 (3)

PageFly-Henry
Shopify Partner
1184 335 293

This is an accepted solution.

Hi @JaydenMojo 

This is Henry from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: paste bellow code in tag </body> -> save.

PageFlyHenry_0-1714530063466.png

 

 

<style>

[data-section-type="custom-content"], .border-b {

    border-bottom-width: 0 !important;

}

</style>

In case the above code does not work, please share with me the editor url and password page. So I can examine this issue more closely.

Hope that my solution works for you.

Best regards,

Henry | 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.

JaydenMojo
Excursionist
17 0 2

Hi Henry,

Thank you for your detailed response it is greatly appreciated.


Unfortunately that code did not work for my page.

 

JaydenMojo_0-1714531846555.png

The grey lines still appear.

 

Do you have any further recommendations.

 

Thank you very much and apologies for the inconvenience. 

Pair_of_Squares
Excursionist
16 0 4

I found a really simple fix for the Dawn theme you could try: Themes -> Customise (your chosen Theme) -> Theme Settings (the Cog icon top left) -> Content Container - change the border thickness to 0px. Check if it effects any other content containers, but for me it got rid of the majority of grey lines between sections.