• Resolved andrewf12

    (@andrewf12)


    Hey, guys!

    I was adding links to a page and then I noticed that when a line is too long, it doesn’t break into a new line, but this only happens when there’s a hyperlink and plain text on the same line I think? When it’s just text, it breaks into a new line just fine. There is a code removes the default double-spacing.

    When I widen the container percentage, it’s all good. Is there another way to make the text next to a hyperlink break into a new line and not overlap the text on the same line if that makes sense?

    I took a screenshot: http://snag.gy/1kSBu.jpg

    Here’s a link to the page: https://www.consumertipster.com/goods-edible/

    Sorry for the trouble. P.S. Oh! This happens when the browser is like contracted halfway or so.

    https://wordpress.org/plugins/beaver-builder-lite-version/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor RobbyMcCullough

    (@robbymccullough)

    Hey Andrew!

    Yeah, I see what you mean there.

    I believe this is happening because of this line of CSS:

    .no-line-height p {
        line-height: 0px;
    }

    Even if you remove the link, it will still happen.

    Thread Starter andrewf12

    (@andrewf12)

    Hi, Robby!

    Thanks for getting back to me. Yeah, Ben helped me with that. We used that code to remove the double spacing between lines so that way there wouldn’t be the default extra space between the line breaks.

    Plugin Contributor RobbyMcCullough

    (@robbymccullough)

    Ah. Gotchya. Try this line instead:

    .no-line-height p {
        margin-bottom: 0;
    }

    The paragraph tags all have a margin on the bottom and that’s where the space is coming from.

    You may need to check to make sure that line doesn’t break anything.

    Hope that helps!

    Thread Starter andrewf12

    (@andrewf12)

    That did the trick! Thank you both for your wonderful help. I really do appreciate it.

    Plugin Contributor RobbyMcCullough

    (@robbymccullough)

    Excellent! My pleasure. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Line Overlap’ is closed to new replies.