Home Forums WoodMart support forum SVG icon not work

SVG icon not work

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #412772

    andrzej
    Participant

    I have a DECOR theme and I have inserted a footer from the demo Retail 2 .

    I wanted to load the icons in SVG, but I can`t, so I insert PNG, which gives a bad effect on the smartphone.

    What to do to make SVG icons work?

    Attachments:
    You must be logged in to view attached files.
    #412859

    Hello,

    Can you please once check if you have installed the Safe SVG (https://wordpress.org/plugins/safe-svg/) plugin on your Site

    Best Regards.

    #412871

    andrzej
    Participant

    I have this plugin installed, but I can’t load SVG icons anyway. The problem is another.

    Please check privat message

    #413152

    Hello,

    It looks like your server blocks requests to load the SVG image with the help of the file_get_contents PHP function. You need to disable this restriction mechanism or consult with your hosting provider for help.

    Kind Regards

    #413162

    andrzej
    Participant

    NO, the problem is another .

    I can easily upload SVG files to the MEDIA in the template, I can also load them direct via WP BAKERY from hard disk.

    The problem is that they don’t want to be shown on the site.

    #413226

    Hello,

    There is an issue with the server. Please ask your hosting provider support about this issue and send them to screenshot as well https://ibb.co/fFK3RfZ then they will solve your issue.

    Your server blocks requests to load the SVG image with the help of the file_get_contents PHP function. You need to disable this restriction mechanism or consult with your hosting provider for help.

    Kind Regards

    #413247

    andrzej
    Participant

    OK, you have right. It was a problem with server . Thanks for help!

    #413351

    Most Welcome 🙂

    Sounds Great! that your issue has been solved.

    Have a great day 🙂

    Topic Closed.
    Best Regards.

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘SVG icon not work’ is closed to new replies.