Lay Theme Forum

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

    Different line height in the same paragraph

    General Discussion
    2
    9
    164
    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.
    • T
      tortue771 last edited by

      Hello! I have two different font sizes within the same paragraph, which displays a bigger line spacing with a bigger font compared to the rest of the paragraph.

      Here's a pic:0_1567631313478_Sans titre 10.jpeg

      If anyone has a suggestion on how to have the same line spacing everywhere I'd be most grateful, thank you.

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

        Dear @tortue771
        you probably take away the padding bottom of the bigger font.

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 1
        • T
          tortue771 last edited by

          Hi @mariusjopen, do you mean I should enter a custom padding in the source code within the text editor?

          I tried unsuccessfully:
          <p class="_Banner_Accueil" style="line-height: 1.6;"><span style="font-size: 55px; padding-bottom: -20px;">Ora Architecte </span>est une agence d'architecture pluridisciplinaire avec une approche créative en conception, ingénierie et construction en milieu tropical. Nous sommes spécialistes des questions environnementales.</p>

          I also tried custom css, but didn't succeed :)

          Thank you!

          1 Reply Last reply Reply Quote 0
          • T
            tortue771 last edited by

            Hey @mariusjopen! Just wondering whether I'm missing something here. If you have any tips I'd be most grateful, thank you!

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

              Dear @tortue771
              can you post a link to your website?

              Best!

              Marius

              www.mariusjopen.world

              T 1 Reply Last reply Reply Quote 1
              • T
                tortue771 @mariusjopen last edited by

                @mariusjopen
                http://oraarchitecte.com
                pw: ora2019

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

                  Dear @tortue771
                  you can give the SPAN element which includes the big text a line-height: 1px;

                  Hope that helps!

                  Best!

                  Marius

                  www.mariusjopen.world

                  T 1 Reply Last reply Reply Quote 1
                  • T
                    tortue771 @mariusjopen last edited by

                    @mariusjopen Thank you! It worked for me.

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

                      Ah great! Happy to hear!

                      www.mariusjopen.world

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Post a link to where the problem is
                      I don't answer or check forum DMs, please just post on the forum.
                      Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

                      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

                      W
                      T
                      D

                      Recent Topics

                      • L

                        HTML

                      • M

                        Burger menu in desktop and tablet view

                      • M

                        WPForms Lite not working with new theme update (5.5.5)

                      • K

                        remove licence from old site

                      laytheme.com