I think WordPress tries to clean up empty tags upon submission. Maybe try adding a nonbreaking space to the inner div:
<div class="wrap" style="text-align: center;">
<a class="btn-11 ryv-popup" href="https://player.vimeo.com/video/140364516">
<div class="ion-ios-videocam-outline"> </div>
</a>
</div>
Interesting – I tried that option and upon saving changes, it cut it down to:
<div class="wrap" style="text-align: center;">
<div class="ion-ios-videocam-outline"></div>
</div>
Could you change the inner div, ion, to a <span>
instead?
I added that as well to enlarge the size of the icon needed, however, it’s still removing code – so it went from this:
<div class="wrap" style="text-align: center;"><a class="btn-11 ryv-popup" href="https://player.vimeo.com/video/140364516">
<span style="font-size:40px"><div class="ion-ios-videocam-outline"></div></span>
</a>
</div>
To this upon saving changes:
<div class="wrap" style="text-align: center;">
<a class="btn-11 ryv-popup" href="https://player.vimeo.com/video/140364516">
</a>
<div class="ion-ios-videocam-outline"></div>
</div>
In this case, the icon does show up, but only underneath the button instead of inside of it.
I was thinking more along the lines of this, all one line maybe, no tabs no spaces ( besides the nbsp ), no real formatting:
<div class="wrap" style="text-align: center;"><a class="btn-11 ryv-popup" href="https://player.vimeo.com/video/140364516"><span class="ion-ios-videocam-outline"> </span></a></div>
Thanks so much! That one finally worked. I appreciate you staying on this, it was starting to get aggravating for such a little thing!