I am having a similar issue. The svg is slightly offset on the right for every icon I used on that page: https://ideam.squarespace.com/projects/meredith-mccrindle (see image attached)
I used a code block with:
<div class="blog-icons">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
<style type="text/css">
.st0{fill:#D4AF37;}
</style>
<path class="st0" d="M46.5,5h-29L-0.3,27.1L32,59.4l32.3-32.3L46.5,5z M17.4,28l12.2,26.2L3.4,28H17.4z M19.6,28H31v24.5L19.6,28z
M33,28h11.4L33,52.5V28z M46.6,28h13.9L34.4,54.2L46.6,28z M60.9,26H46.8L41.3,7h4.2L60.9,26z M39.2,7l5.4,19H33V7H39.2z M31,26
H19.3l5.4-19H31V26z M18.5,7h4.2l-5.4,19H3.1L18.5,7z"/>
</svg>
</div>
And the following custom CSS:
.blog-icons {
max-width: 30px;
padding-top: 0px;
text-align: center;
margin-left: auto;
margin-right: auto;
}
I am using these icons on the About page too and they are properly centered there. Any idea what's happening?
Thanks in advance!