non-breaking spaces
-
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èneTranslated with DeepL.com (free version)
-
Hello, do you mean these texts?
-
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:
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:
then the span elements would be removed, and the non-breaking spaces would work correctly.If you would just want to
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:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- 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:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it