New Landing How can we help? Themeforest Theme Support Uplift SVG Icons Not Showing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Uplift
  • #267152
    Matt
    Member
    Post count: 5

    Hi there

    Installed the demo content on my local server and all the icons are not showing, instead they’re showing as code? (See attached) Tried completely re-installing from scratch and same problem.

    Any thoughts?

    Cheers

    Matt

    Attachments:
    You must be logged in to view attached files.
    #267430
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    This must be a local host environment setup, please test adding this to your .htaccess:

          	AddType image/svg+xml svg
          	AddType image/svg+xml svgz

    More info here: http://stackoverflow.com/questions/1574967/svg-not-working-when-access-on-localhost-why.

    Thanks.

    #267617
    Matt
    Member
    Post count: 5

    Many thanks for the reply. Absolutely got me pointed in the right direction.

    I’m using XAMPP for my local staging environment and had to add the following to http.conf (in case anyone else runs into this), then reboot. Restarting apache didn’t trigger it for some reason.

    <IfModule mime_module>
        #
        # TypesConfig points to the file containing the list of mappings from
        # filename extension to MIME-type.
        #
        TypesConfig etc/mime.types
        AddType image/svg+xml svg svgz
        AddEncoding gzip svgz
    #267692
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great!

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register