Archived topic
Social media buttons
7 replies · Started by Graeme on April 28, 2021
Re Social media buttons on the bottom of post using an element. I need to add alt text behind the socialmedia button images. How can I do this?
Hi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
hi there,
I'm not exactly sure what you mean.
Do you want to add an alt attribute to the SVG icon of the social icons?
Let us know.
Yes thats it Elvin. I think you have answered the question. Replace the SVG's with an Image?
Yes thats it Elvin. I think you have answered the question. Replace the SVG’s with an Image?
It's not recommended to use non-vector image files as they don't translate well on resize but if you must still do it, check the button block's Icon tab.
You should see a text field containing an SVG tag. <svg .........>
https://share.getcloudapp.com/6qu8JRDR
You can replace that with an <img> tag. You can manually add attributes as well.
Example:
<img src="path/to/your/image/filename.png" height="20" width="20" alt="your manual alt text" />
Thanks. I will take your advice and not bother. Don't want to damage the fantastic speeds we are experiencing. Thank you
No problem. :D