White lines or spaces between sections

Hey Webflow-Community!

I am having an issue with the section background-images on a website I am designing.

There seems to be a small space or a fine white line between each section that I can not get rid of.

  • The lines are most prominent in the Designer View on mobile devices, but can also be seen on desktop view if zoomed in.

  • It seems that the lines are not visible on the desktop version of the published website, but they are visible on the mobile version of the published website.

Here are screenshots of the lines from my mobile phone (iPhone 11):

I used .svg files in order to keep the file size low and to be able to scale the images.

I have already tried to exchange the images with jpeg files but the problem persists.

I am also happy to share more details, images or screen recordings if that would help.

Thank you very much in advance for your help!


Here is my site Read-Only: Webflow - Coach Ingvar - Personal Training

And here my published website: https://ingvars-first-project-af2d8e.webflow.io/

Hello.
I think the ‘background-angebot 1 svg’ is the course off this. When I change the body background to ‘red’ I see a thin red line above this svg. So the svg image has a thin white line on top?

Hey, @HGWeb!
Thank you very much for your fast reply :smiley:
Setting the body background to a different color is a great idea for finding bugs, thank you for the suggestion :slight_smile:

The .svg’s don’t have a line on top of them I checked that again. But just out of curiosity, if there would be a white line on top of the svg’s, like a hard coded stroke, would that be affected by the color change of the body background?

The problem I am seeing now is that in order to close the gap I need to add negative margin on one of the sections, which will create another gap on the opposite site of it. Is there a possibility to maybe keep the cover funcionality of the background-image but enlarge it by a few pixel?

Or is there another solution I can not think of?

Once again, thank you for your help!

Hello Ingvar.
I don’t see any white lines anymore. But you have a line height op 1px on the ‘p white’
So the text overlaps!

Hey @HGWeb,

Ah, that’s right! Thank you very much for pointing that out to me!

After some discussion with a friend of mine I’ve concluded that the thin white line is probably a rendering issue on different browsers, since on Chrome I was not able to see the line, but on Safari I did see it.

I was able to solve the problem by using a background gradient with using the colors from the top and the bottom of the SVG to blend in.

I still hope there is a better solution to this problem, but I haven’t found one yet.

If you have any better idea of how to solve the issue please let me know :slight_smile:

Best,
Constantin

1 Like

Hey! I think I found a solution for this issue.

I was having a similar issue on my site, where I had these fine white lines at the borders of my site’s sections. I navigated to:

Borders > Selected the border direction > Clicked the ‘X’ next to Style

Screen Shot 2022-11-30 at 4.25.31 PM

The line at the bottom of my section disappeared even though the Settings panel showed no line there. This is likely a bug that needs resolution, perhaps a setting carried over from previous versions?

Good luck to you!

1 Like

I’m still having this issue, bot only on mobile devices.
https://rise-bakery-5c0ead.webflow.io/

I’ve checked the SVG – no white line. I’ve checked and rest the boarder settings as suggested. I was skeptical but even tried the -1px margin, but I’m still having the white line show. Unfortunately, I only have iOS phones to hand to test.

I know it’s been a while since this topic was opened but I’m new to Webflow and came across this because it was happening to me. I was exporting an svg from Figma and I just couldn’t get it to show without the line. After some playing around, I zoomed in on the svg in figma and noticed that side where the white line was showing was kind of half way between pixels. I wondered where this might be the cause so I exported it and imported it into Illustrator. From here I resized it slightly and saved the svg again. When importing it back into Webflow the line had gone. I’m not sure if the resizing in Illustrator was necessary… it might just work by opening it up and saving it as an svg again. Whatever the case, this seems to have solved the problem.