Hi,
I have a text block in one of my page and I wanted to add a white overlay on the text. I clicked on “Text” next to “Visual” and added the following code between the text :
<div style = "padding: 20px; background: rgba(255,255,255,0.5);">
My text
</style>
It worked great on the page and did what I wanted. However, once I saved the changes and updated the page I can’t see the text anymore when I want to edit the text block. I can see the text in the preview in the advanced layout editor page :
but once I click on “Edit” it’s like if there is nothing :
This seems to be a bug. How can I fix it? I cleared the cache of my browser and deactivated all plugins but it didn’t change anything. The only way around it is to rewrite the text of block but then I can’t add any html code in it….
Anyone ???
Hi Oby4455,
This html is invalid. Should be
<div style = "padding: 20px; background: rgba(255,255,255,0.5);">
My text
</div>
Can you try inserting valid html, see what happens and get back to us.
Best regards,
Victoria