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. non-breaking spaces

non-breaking spaces

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 754 Views 2 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.
  • M Offline
    M Offline
    MileneM
    wrote on last edited by
    #1

    Hello,

    I am having an issue with non-breaking spaces, which only work half the time. I checked by removing the CSS code, but it did not make any difference. I tested using the non-breaking space button in the text editor menu and also with the non-breaking space in the special characters.
    This is for my calendar page - https://floradetraz.com/agenda/
    Do you have any suggestions?

    Thank you in advance.
    Have a nice day.
    Milène

    Translated with DeepL.com (free version)

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

      Hello, do you mean these texts?

      image.png

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

        I can see you are using a table element inside of the text editor. We now also have our own Lay Theme table element that is easier to edit. If you go to +More -> +Table

        When I look at the code of your text, I can see that it's not just text but also some span elements:

        image.png

        Whenever you style parts of a text to be a different font family, the text editor creates a span tag around that part of the text to be able to style only that part.
        So above you see, we have the word Hualula in bold. So that gets into its own span element.

        Now the problem is non-breaking spaces work within texts that are not split up by other tags like span tags.
        I think if you select your text and click the clear formatting button:
        a20838a4-7e87-4783-8b88-1fbbdc8fe85c-image.png
        then the span elements would be removed, and the non-breaking spaces would work correctly.

        If you would just want to

        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

        Our Web Development company: 100k.studio

        Want to tip me? https://www.paypal.com/paypalme/arminunruh

        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
        L
        leostelas
        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