SVG Icon on html block - by Nuno Pereira

This topic has 7 replies, 2 voices, and was last updated 5 years, 1 months ago ago by Nuno Pereira

  • Avatar: Nuno Pereira
    Nuno Pereira
    Participant
    October 14, 2020 at 14:13

    Hi,

    I´m trying to insert an svg icon on my header. I´ve tried to use an HTML block
    but when I put the code it doesn´t show up on the final page. I´ve embedded it in pages and it worked. How can I solve this?

    The svg code is:

    Thank you

    6 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    October 15, 2020 at 08:15

    Hello,

    Could you, please, provide us with temporary WP Dashboard access to your site and tell me where exactly in the header you want to show that icon?
    You can use Lightshot screenshot tool to make the screenshot.

    Regards

    Avatar: Nuno Pereira
    Nuno Pereira
    Participant
    October 15, 2020 at 10:01

    Hi, I`m trying to put it in the main header:

    https://prnt.sc/uzpw5c

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    October 15, 2020 at 13:24

    Hello,

    Could you, please, provide us with temporary WP Dashboard access to your site to check the issue in more detail?

    Regards

    Avatar: Nuno Pereira
    Nuno Pereira
    Participant
    October 15, 2020 at 14:15

    In private

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    October 16, 2020 at 10:35

    Hello,

    Unfortunately, Kirki framework (that we use for theme options) prevents using of the svg code in the HTML areas.
    You can try to use the Statick block with the SVG http://prntscr.com/v0g3lf and then show it in the HTML Block http://prntscr.com/v0g34y .

    Regards

    Avatar: Nuno Pereira
    Nuno Pereira
    Participant
    October 16, 2020 at 12:46

    Awesome! Thank you.

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘SVG Icon on html block’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.