BohemeLife Posted January 10 Posted January 10 (edited) I'm using the ∞ icon in a number of places throughout my site (as text) but the font I'm using makes it look funny, so I'd like to replace it with the following SVG icon: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g transform="translate(0 24) scale(1 -1)"><path fill="currentColor" d="M12 11.16c.887-.933 1.813-1.865 2.78-2.6C15.952 7.668 17.267 7 18.75 7C21.657 7 24 9.615 24 12.25s-2.343 5.25-5.25 5.25c-1.483 0-2.798-.668-3.97-1.56c-.967-.735-1.893-1.667-2.78-2.6c-.887.933-1.813 1.865-2.78 2.6c-1.172.892-2.487 1.56-3.97 1.56C2.343 17.5 0 14.885 0 12.25S2.343 7 5.25 7c1.483 0 2.798.667 3.97 1.56c.967.735 1.893 1.667 2.78 2.6M5.25 8.5c-2.032 0-3.75 1.895-3.75 3.75S3.218 16 5.25 16c1.017 0 2.014-.457 3.062-1.253c.89-.678 1.758-1.554 2.655-2.497c-.897-.943-1.765-1.82-2.655-2.497C7.264 8.957 6.267 8.5 5.25 8.5m7.783 3.75c.897.943 1.765 1.82 2.655 2.497C16.736 15.543 17.733 16 18.75 16c2.032 0 3.75-1.895 3.75-3.75S20.782 8.5 18.75 8.5c-1.017 0-2.014.457-3.062 1.253c-.89.678-1.758 1.554-2.655 2.497"/></g></svg> or HTML: <iconify-icon icon="octicon:infinity-24" flip="vertical"></iconify-icon> <script src="https://code.iconify.design/iconify-icon/1.0.7/iconify-icon.min.js"></script> Edited January 10 by BohemeLife
tuanphan Posted January 12 Posted January 12 Can you share link to some pages where you use ∞ icon? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
inside_the_square Posted April 26 Posted April 26 @BohemeLife following up on this - can you share a link to an example or did you find another soloution? 🤓 Creator of InsideTheSquare.co ✨ SQUARESPACE CIRCLE LEADER✨ SQUARESPACE EXPERT ✨ SQUARESPACE EMPLOYEE EDUCATOR ✨ CERTIFIED CUSTOM CODE EXPERT ✨ 🗺️ New to Squarespace? Get your free roadmap: insidethesquare.co/roadmap 🙋♀️ New to CSS? Learn the basics for free: insidethesquare.co/learn ⭐️ Ready to go pro? Get my custom code collection: insidethesquare.co/css
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment