Archived topic
Custom Icons GenerateBlocks
4 replies · Started by Benjamin on January 9, 2021
Hi, I am using generate blocks with the GP premium theme. I want to use my own icon for some buttons on my site. Is there a way to add a custom icon? Thanks in advance.
Hi there,
in the Free version of GB ( Pro version coming soon ) you can add your own inline SVG icon using the Icon SVG HTML Field.
https://docs.generateblocks.com/article/icon-picker-overview/
To create an inline SVG, open your SVG icon in this app:
https://jakearchibald.github.io/svgomg/
then go to the Markup Tab. Copy out the <svg> code and paste this in the field mentioned above.
Hi,
Thanks, I finally managed to get it to work. Unfortunately, the icon seems to display super small. I tried it a few times with some different icons and the size is always really small. I bought some icons from Iconfinder.
Obviously, the SVG should be able to scale up, but I tried some icons from another plugin by just copying the SVG out using the inspector tool and it seems that the GP block button is making them display smaller. What can I do about this?
Thanks.
Never mind I figured it out.
Glad to hear that!