Tagged: custom html, enfold bug, Text block
Hi Guys
At bottom, I have put custom social media icons at left side under Get In Touch header – http://prntscr.com/i2hmt0
I have put my custom html here – http://prntscr.com/i2hn2b in textblock (1). But after update the page, when I am again edit this textblock, my whole html removed from this text block (http://prntscr.com/i2hpm6) and the social icons not show on tag pages – http://alanmorgannew.wpengine.com/bexley-seo/ – http://prntscr.com/i2hnos
Brief Explain – When I put some html code in Text Block, It is removed after page update
Thanks
Hey almondmike_a,
Thanks for the login details. It looks like you haven’t closed the ul tag in your markup, that might be the problem. Please try the code in private instead.
Best regards,
Rikard
Hi Rikard,
Thanks for your suggestions but this is not working.
The issue I have found that the Enfold has small bug in its code that it removes all html with empty data.
Means, it is removed the code which has no content like this code – <i class=”fa fa-youtube”></i> this is font awesome icon.
Enfold removed this code after update the page.
But I have found trick for this, I have put blank space between empty tags like this – <i class=”fa fa-youtube”> </i> (with ).
And this is working fine for me and also working fine in tag pages.
Thanks
Hi,
Great, glad you found that out, this is basically the same but can sometimes be better to use than an actual blank space:
<i class=”fa fa-youtube”>& n b s p ;</i>
Just remove the blank space between the characters, it’s basically the same thing as what you did though :-)
Best regards,
Rikard