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. Hanging punctuation?

Hanging punctuation?

Scheduled Pinned Locked Moved General Discussion
8 Posts 3 Posters 104 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.
  • B Offline
    B Offline
    billykioso
    wrote on Apr 9, 2024, 8:57 AM last edited by
    #1

    Has anyone managed to get their punctuation to 'hang' outside the text box?

    I am using the code below, but it isn't working on either Chrome or Safari.
    I placed it under Custom CSS for Desktop Version (_Default refers to my text format).

    ._Default p {
    hanging-punctuation: first;
    }

    Screenshot 2024-04-09 at 09.51.44.png

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alasdair17
      wrote on Apr 9, 2024, 11:22 AM last edited by
      #2

      Maybe try it with a character text format?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        billykioso
        wrote on Apr 9, 2024, 12:39 PM last edited by
        #3

        I created a Character Text Format called "DefaultCharacter" and then added this code to Custom CSS for Desktop Version, but still no luck. Am I doing the code wrong, perhaps?

        ._DefaultCharacter {
        hanging-punctuation: first;
        }

        A 1 Reply Last reply Apr 9, 2024, 12:52 PM
        0
        • B billykioso
          Apr 9, 2024, 12:39 PM

          I created a Character Text Format called "DefaultCharacter" and then added this code to Custom CSS for Desktop Version, but still no luck. Am I doing the code wrong, perhaps?

          ._DefaultCharacter {
          hanging-punctuation: first;
          }

          A Offline
          A Offline
          alasdair17
          wrote on Apr 9, 2024, 12:52 PM last edited by
          #4

          @billykioso you got link to it in action?

          1 Reply Last reply
          0
          • B Offline
            B Offline
            billykioso
            wrote on Apr 9, 2024, 2:20 PM last edited by
            #5

            It's working now! I must have not refreshed enough. Thank you!

            1 Reply Last reply
            1
            • B Offline
              B Offline
              billykioso
              wrote on Apr 9, 2024, 3:22 PM last edited by
              #6

              I realised what happened: it works in Safari, but not in Chrome or Firefox. Thanks anyway!

              1 Reply Last reply
              0
              • A Offline
                A Offline
                arminunruh
                Global Moderator
                wrote on Apr 11, 2024, 1:23 PM last edited by
                #7

                interesting, never saw this "hanging-punctuation: first;" before

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  billykioso
                  wrote on Apr 17, 2024, 9:15 AM last edited by
                  #8

                  Screenshot 2024-04-17 at 10.15.20.png
                  The result on Safari :)

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

                  8/8

                  Apr 17, 2024, 9:15 AM


                  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
                  C
                  craigfeldspar
                  4 minutes ago
                  M
                  marcos
                  6 minutes ago
                  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.
                  8 out of 8
                  • First post
                    8/8
                    Last post
                  0
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Search