-
AuthorPosts
-
August 19, 2013 at 11:56 am #28035
Hello,
I can’t send a link but I am finding the text block a bit buggy in the latest version of the theme when using the text editor. For example, I am using the following code for a text box within a color section, the reason for this is because I want the text to stand out against the image (I am no CSS expert but it seems to be working)
<div align=”center”>
<div style=”width: 65%;”>
<div style=”padding: 10px 10px 10px 10px; background-color: #ffffff; line-height: 1.4;”>
<h2>My Text content here</h2>
</div>
</div>
</div>
However, when I save this I see the above content in the text block in the page builder but when I click on the text box the code is not there, just the default ‘click here to add your own text’
I have a feeling this started when I had an extra closing div tag?? The only way to overcome this is to copy the text content from the avia debug panel. Delete the entire text box in question and add it again – VERY time consuming.
Like I say, I am not 100″ sure but think this is because of a typo in the CSS code, if so then this could be a serious issue with a text block with lots of information in it.
Hope that makes sense!
Thanks
Andrew
August 19, 2013 at 3:31 pm #136221Just to add – It just happened again, this time I forgot to add a simple closing </div> Luckily I had a copy of the code.
Andrew
August 21, 2013 at 6:19 pm #136222Hi Andrew,
I suspect its a bit more to do with how WordPress reads data in posts/visual editor. If you just have code in the text tab and there isn’t any text before it then WordPress tends to clear out all of your content when switch over to the regular visual editor tab.
So what you may need to do is keep the styling to within either of the tabs on not switch between them.
Regards,
Devin
August 21, 2013 at 6:58 pm #136223Thanks Devin,
I will try and keep it to one or the other to prevent it from clearing it out – just another WordPress annoyance then!:-)
Andrew
-
AuthorPosts
- The topic ‘text block buggy’ is closed to new replies.