Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    <br/> tag in HTML embed won't render

    Bug Reports
    3
    5
    377
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DMB
      DMB last edited by

      Hi @Armin-Unruh @mariusjopen

      I'm trying to insert some HTML using the 'HTML' button but whatever i try it will not render my <br/> paragraph breaks or <p> line breaks.

      You can add as many as you like in and it will not make any difference. Any idea whats going on? I've checked my code in codepen and it rendersproperly but not in lay theme.

      Would be great if this worked!

      Best,

      D

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Hi @DMB
        can you try to add the HTML code in the text element?
        0_1517333096732_Bildschirmfoto 2018-01-30 um 15.24.41.png

        If that does not work – please let me know!

        Marius

        www.mariusjopen.world

        DMB 1 Reply Last reply Reply Quote 0
        • DMB
          DMB @mariusjopen last edited by

          @mariusjopen that doesnt work either!

          I found a way aound what i want to do by adding a class and padding the bottom. But it would probably be good if this function worked!

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Hi @DMB
            I agree. We will have a closer look!

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • arminunruh
              arminunruh Global Moderator last edited by

              Hey!

              HTML code in gridder:
              0_1517570284242_Screen Shot 2018-02-02 at 12.17.08.png

              HTML code on frontend:
              0_1517570305500_Screen Shot 2018-02-02 at 12.17.14.png

              The HTML markup is correct on the frontend. Still, no text will shop up because globally the font-size is set to 0 because of layout reasons. (If the font size is not 0, there will be small gaps between divs)

              That's why you need to add a textformat's HTML class to any <p>
              like:

              0_1517570397096_Screen Shot 2018-02-02 at 12.19.45.png

              1 Reply Last reply Reply Quote 1
              • First post
                Last post

              Before you post

              Use the Search Feature. Maybe there is already a solution to your issue.

              1. Update Lay Theme and all Lay Theme Addons
              2. Disable all Plugins
              3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
              4. Now see if your problem solved itself
              5. Go here, see if your problem is listed here:
              Troubleshooting

              When you post:
              1. Post a link to where the problem is
              2. If the problem is difficult to explain, post screenshots / link to a video to explain it

              Thanks!

              Online Users

              G
              L
              S
              M
              Z

              Recent Topics

              • M

                komische boxen auf der Website

              • S

                Theme crashed - because of Polylang?

              • J

                Split Screen just on front page / subpages without the split?

              laytheme.com