Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. Justufying Text

Justufying Text

Scheduled Pinned Locked Moved General Discussion
text typo justi
13 Posts 5 Posters 4.1k Views 4 Watching
  • 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.
  • I
    I
    idanshe
    wrote on last edited by
    #1

    Hello Armin!

    I have a question regards the text block. I would like to place the text as a blocksatz, instead of flattersatz. How is it possible to get to the code? if i want it for a text format will it be possible to change it once instead of each text block? and should i just replaced "intend left" to "justify"?
    THANKS!

    1 Reply Last reply
    1
    • arminunruhA
      arminunruhA
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      Good question! :D
      Ok so let's say you created a textformat called "justifiy".

      Then in Lay Options -> Misc Options you enter this CSS:

      ._justifiy{
      text-align: justify;
      }
      

      Let me know if that works!

      I 1 Reply Last reply
      0
      • arminunruhA arminunruh

        Good question! :D
        Ok so let's say you created a textformat called "justifiy".

        Then in Lay Options -> Misc Options you enter this CSS:

        ._justifiy{
        text-align: justify;
        }
        

        Let me know if that works!

        I
        I
        idanshe
        wrote on last edited by
        #3

        @arminunruh cool!!! thanks a lot :)

        I 1 Reply Last reply
        0
        • I idanshe

          @arminunruh cool!!! thanks a lot :)

          I
          I
          idanshe
          wrote on last edited by
          #4

          @arminunruh hey armin! after the update of the lay theme my text isn't being justifying.. what should i do?

          thanks!

          1 Reply Last reply
          0
          • arminunruhA
            arminunruhA
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            Yeah I changed the code a bit.
            Try:

            .lay-textformat-parent ._fliesstext{
            text-align: justify;
            }
            
            I 1 Reply Last reply
            0
            • arminunruhA arminunruh

              Yeah I changed the code a bit.
              Try:

              .lay-textformat-parent ._fliesstext{
              text-align: justify;
              }
              
              I
              I
              idanshe
              wrote on last edited by
              #6

              @arminunruh super thanks! :)

              1 Reply Last reply
              0
              • omooreO
                omooreO
                omoore
                wrote on last edited by
                #7

                @arminunruh
                Is this code still working in 2018?

                If I create a "paragraph format" and "justify" the sample text using the justify block button, and then apply the format to text in the gridder, there is no change.
                I put in the code in the lay options --> custom css

                Any help is appreciated!
                Thanks

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

                  Dear @omoore
                  don't forget to put IMPORTANT behind the code:

                      text-align: justify !important
                  

                  Best!

                  Marius

                  www.mariusjopen.world

                  omooreO 1 Reply Last reply
                  0
                  • mariusjopenM mariusjopen

                    Dear @omoore
                    don't forget to put IMPORTANT behind the code:

                        text-align: justify !important
                    

                    Best!

                    Marius

                    omooreO
                    omooreO
                    omoore
                    wrote on last edited by
                    #9

                    @mariusjopen It works now - Thank you!

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

                      Great! Happy to hear!

                      www.mariusjopen.world

                      1 Reply Last reply
                      0
                      • Y
                        Y
                        yelmarb
                        wrote on last edited by
                        #11

                        I'm trying to justify text on a specific mobile page but for the life of me I can't make it work.

                        @arminunruh could you please tell me how can I target specific text on a mobile only site?

                        1 Reply Last reply
                        0
                        • arminunruhA
                          arminunruhA
                          arminunruh
                          Global Moderator
                          wrote on last edited by
                          #12

                          hey!

                          So I think you can find out the slug-* body class:
                          https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-page

                          then in lay options → custom css & html

                          in css for mobile, do:

                          .slug-yourslug .text *{
                          text-align: justify !important;
                          }
                          

                          the .slug-yourslug makes it so its only on that one page

                          1 Reply Last reply
                          0
                          • arminunruhA
                            arminunruhA
                            arminunruh
                            Global Moderator
                            wrote on last edited by
                            #13

                            Screenshot 2023-10-07 at 10.31.22.png

                            of course if you wanted the text to be justified on mobile and desktop you could create a textformat and use text align, the far right icon

                            1 Reply Last reply
                            1

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            Online Users
                            M
                            michael_vvc
                            C
                            craigfeldspar
                            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