Here's the best possible solution, right now, thanks for posting @mikedidthis!
Put a similar button in the parent, div , li or something else, and call it something like .like . Above the button, set the SVG used by Tumblr for the heart icon:
<li class="like"> <svg width="14" height="14" viewBox="0 0 19 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000"> <path d="M14.0425097,0.000920262799 C16.1435097,-0.0400797372 18.8835097,1.28192026 18.9635097,5.36992026 C19.0525097,9.95492026 15.1985097,13.3079203 9.48350967,16.2089203 C3.76650967,13.3079203 -0.0874903349,9.95492026 0.00150966509,5.36992026 C0.0815096651,1.28192026 2.82150967,-0.0400797372 4.92250967,0.000920262799 C7.02450967,0.0419202628 8.87050967,2.26592026 9.46950967,2.92792026 C10.0945097,2.26592026 11.9405097,0.0419202628 14.0425097,0.000920262799 Z"></path> </svg> {LikeButton size="14"} </li> -0.0400797372 18.8835097,1.28192026 18.9635097,5.36992026 C19.0525097,9.95492026 15.1985097,13.3079203 9.48350967,16.2089203 C3.76650967,13.3079203 -0.0874903349,9.95492026 0.00150966509,5.36992026 C0.0815096651,1.28192026 <li class="like"> <svg width="14" height="14" viewBox="0 0 19 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000"> <path d="M14.0425097,0.000920262799 C16.1435097,-0.0400797372 18.8835097,1.28192026 18.9635097,5.36992026 C19.0525097,9.95492026 15.1985097,13.3079203 9.48350967,16.2089203 C3.76650967,13.3079203 -0.0874903349,9.95492026 0.00150966509,5.36992026 C0.0815096651,1.28192026 2.82150967,-0.0400797372 4.92250967,0.000920262799 C7.02450967,0.0419202628 8.87050967,2.26592026 9.46950967,2.92792026 C10.0945097,2.26592026 11.9405097,0.0419202628 14.0425097,0.000920262799 Z"></path> </svg> {LikeButton size="14"} </li>
Change <svg width="..." height="..."... and {LikeButton size="..."} to the desired size.
Now just use a bunch of simple CSS
.like { position: relative; } .like svg path { fill: #563d7c; } .like .like_button { position: absolute; top: 0; opacity: 0; } .like .like_button.liked { opacity: 1; }
So far, here's how to do the same for the reblog button - since it is not called in the iFrame, things are a bit simpler. Put it in the parent div , li or whatever and name it something like .reblog
<li class="reblog"> {ReblogButton size="14"} </li>
And CSS
.reblog svg path { fill: #563d7c; }
Originally posted here .