[Resolved] Phone Icon in button

Home Forums Support [Resolved] Phone Icon in button

Home Forums Support Phone Icon in button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1678089
    troyw

    Hey team,

    I would like to add a small phone svg icon to a ‘call us now’ button. I have your lightweight icons and want to use this one;
    <svg version=”1.0″ xmlns=”http://www.w3.org/2000/svg&#8221; width=”52″ height=”602.667″ viewBox=”0 0 39 452″><path d=”M10 226v208h20V18H10v208z”></path></svg>

    How do I add this to the start of your button and ensure it is in the correct color?

    Thanks

    #1678097
    Leo
    Staff
    Customer Support

    Hi there,

    I would recommend using GB’s buttons block instead of the core button block from WordPress:
    https://docs.generateblocks.com/article/buttons-overview/

    Then you will have the option to use an icon:
    https://docs.generateblocks.com/article/buttons-overview/#icon

    #1678184
    troyw

    Thanks Leo, I was using the other button.

    #1679176
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.