Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Different line height in the same paragraph

Different line height in the same paragraph

Scheduled Pinned Locked Moved General Discussion
9 Posts 2 Posters 366 Views
  • 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 Offline
    T Offline
    tortue771
    wrote on last edited by
    #1

    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
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

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

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      1
      • T Offline
        T Offline
        tortue771
        wrote on last edited by
        #3

        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
        0
        • T Offline
          T Offline
          tortue771
          wrote on last edited by
          #4

          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
          0
          • mariusjopenM Offline
            mariusjopenM Offline
            mariusjopen
            Global Moderator
            wrote on last edited by
            #5

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

            Best!

            Marius

            www.mariusjopen.world

            T 1 Reply Last reply
            1
            • mariusjopenM mariusjopen

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

              Best!

              Marius

              T Offline
              T Offline
              tortue771
              wrote on last edited by
              #6

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

              1 Reply Last reply
              0
              • mariusjopenM Offline
                mariusjopenM Offline
                mariusjopen
                Global Moderator
                wrote on last edited by
                #7

                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
                1
                • mariusjopenM mariusjopen

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

                  Hope that helps!

                  Best!

                  Marius

                  T Offline
                  T Offline
                  tortue771
                  wrote on last edited by
                  #8

                  @mariusjopen Thank you! It worked for me.

                  1 Reply Last reply
                  0
                  • mariusjopenM Offline
                    mariusjopenM Offline
                    mariusjopen
                    Global Moderator
                    wrote on last edited by
                    #9

                    Ah great! Happy to hear!

                    www.mariusjopen.world

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    I also code custom websites or custom Lay features.
                    💿 Email me here: 💿
                    info@laytheme.com

                    Before you post:
                    1. When using a WordPress Cache plugin, disable it or clear your cache.
                    2. Update Lay Theme and all Lay Theme Addons
                    3. Disable all Plugins
                    4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                    This often solves issues you might run into

                    When you post:
                    1. Post a link to where the problem is
                    2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                    3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                    Online Users
                    P
                    paul.bowler
                    dafvD
                    dafv
                    Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                    laytheme.com
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Search