Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Help removing lines between sections in Dawn theme?

Solved

Help removing lines between sections in Dawn theme?

kianialexandra
Tourist
27 0 2

Hello! I'm preparing to launch my shop and was wondering if someone can help me remove these lines that seem to be appearing in my shop between sections. I don't think they were there before, so I feel like they just showed up randomly? I could be wrong though, but anyway, as you can see it shows differently on the Desktop and Mobile versions

 

Here is the line that's appearing on desktop:

 

Desktop Website lines.jpg

 

And here are two lines that are appearing on the mobile version:

 

Mobile Website lines.jpeg

 

I know the lines in the white seem small but to me they just look very unprofessional, can anyone help me get rid of these?

 

Here is my shop info:

 

Website: cloudsinmyclub.com

Password: skohlu

Accepted Solution (1)
DavidEKim
Shopify Partner
393 131 198

This is an accepted solution.

@kianialexandra 

Hi,

You can change the margin-top to -9px (or smaller) as below.

 

 

.section+.section {
    margin-top: -9px !important;
}

 

 

When I checked the gap (margin width), that was about 9px. That's why I gave you -10px for extra safety. You can check the gap with margin width -9px (or -8px) until it fits your needs.

If the issues are resolved, please click "Like" and "Accept solution". Other users may find this post useful if they have the same issues.

Hope it helps.

Thanks.

 

If helpful, please Like and Accept Solution.
Want to customize your store, please feel free to contact me.
PeopleVillage - Shopify Partner

View solution in original post

Replies 11 (11)

suyash1
Shopify Partner
10132 1253 1593

@kianialexandra - please add this css to the very end of your base.css file and check

@media screen and (max-width: 989px){.section+.section {margin-top: -1px;}
To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
kianialexandra
Tourist
27 0 2

Hi and thanks for your reply!

Unfortunately the line is still there 😞 

suyash1
Shopify Partner
10132 1253 1593

@kianialexandra  - try code given by @DavidEKim - it should work

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

DavidEKim
Shopify Partner
393 131 198

@kianialexandra 

Hi,

Please add the code below to assets/base.css file.

.section+.section {
    margin-top: -10px !important;
}

 

Hope it helps.

Thanks.

If helpful, please Like and Accept Solution.
Want to customize your store, please feel free to contact me.
PeopleVillage - Shopify Partner
kianialexandra
Tourist
27 0 2

Hi David!

Thank you for your response, and the code seemed to get rid of the line in the blue section on both desktop and mobile which is great! However, the line in the white section is still there on both mobile and desktop. Any ideas? 😕

DavidEKim
Shopify Partner
393 131 198

@kianialexandra 

 

Hi,

That's the image issue, not the coding or structure (DOM) issue.

You need to edit the image & replace.

 

Your file.

temp-1.jpg

 

After edit (removed the line).

 

temp-2.jpg

You may download the above image and replace it.

Hope it helps.

If you resolve the issues, please click "Like" and "Accept Solution".

Thanks.

If helpful, please Like and Accept Solution.
Want to customize your store, please feel free to contact me.
PeopleVillage - Shopify Partner
kianialexandra
Tourist
27 0 2

I think i fixed the issue! I replaced the image with a new one and the line seems to be gone now!

kianialexandra
Tourist
27 0 2

Actually David, I think your code is cutting off my image. Any ideas?

suyash1
Shopify Partner
10132 1253 1593

@kianialexandra - you have my css code above, please adjust that value -1 as per your need, like -2,-3 etc

please copy that css and check

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
DavidEKim
Shopify Partner
393 131 198

This is an accepted solution.

@kianialexandra 

Hi,

You can change the margin-top to -9px (or smaller) as below.

 

 

.section+.section {
    margin-top: -9px !important;
}

 

 

When I checked the gap (margin width), that was about 9px. That's why I gave you -10px for extra safety. You can check the gap with margin width -9px (or -8px) until it fits your needs.

If the issues are resolved, please click "Like" and "Accept solution". Other users may find this post useful if they have the same issues.

Hope it helps.

Thanks.

 

If helpful, please Like and Accept Solution.
Want to customize your store, please feel free to contact me.
PeopleVillage - Shopify Partner

NateBaby335
Tourist
13 2 1

I know this is an old thread but I was struggling with this issue and I just found a solution for it. You dont need to use and CSS to hide borders and whatnot. if you go to the Theme settings and click on Content Containers. you can change the border width to 0px and it will get rid of those colored lines that separate the sections.