Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24310

    When I use the “Text Block” and insert a DIV into HTML with no text ( <div class=”button”></div>) and then save it, it deletes the div for not having text inside of the brackets. If I were it like this : <div class=”button”>some text</div> it won’t delete.

    How can I fix this?

    #123106

    Hi ace2296,

    I’m fairly sure this is just how WordPress handles code. You can add a   and see if that helps but typically, you need to force wordpress to stay in text edit mode instead of the visual editor to prevent it from modifying any of your html.

    Regards,

    Devin

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Avia Page Builder Keeps Deleting Empty DIVs’ is closed to new replies.