svg logo won't show up on mobile view

Support Area Forums Responsive Visual svg logo won't show up on mobile view

Viewing 6 posts - 1 through 6 (of 6 total)
URL to the page in question: http://
  • Author
    Posts
  • #23188
    Thomas Pientka
    Participant

    hey bill,

    i use svg for the logo picture and it works quite well on desktops.
    somehow when using a smarthphone the logo won’t show up and instead a cutted text is written.
    you have any idea why?

    regards
    thomas

    #23193
    Bill Robbins
    Moderator

    I don’t have much experience with SVG images. Unlike PNG or JPEG files, they are really just XML on the inside. It sounds like the device in question is displaying the XML instead of the image. It looks like Android’s browser has partial support (http://caniuse.com/#feat=svg) for SVG before version 4.4. That may be what’s getting you.

    #23198
    Thomas Pientka
    Participant

    well as far as i know i got android 4.4.3 and i can see svgs that i implemented in websites the same way like i did here /e.g. http://www.it-findik.net (there i can see the logo crisp and clear).

    i just check by using this file with the visual theme: https://www.it-findik.net/logo.svg
    and noticed that the failure is the svg itself, so the theme is fully compatible.
    if you thing about flat design svg is the art of choice in these days, i think it will even replace the .ico format in a few years.

    #23201
    Bill Robbins
    Moderator

    SVG’s are not something I’ve thought a great deal about since IE 8 had no support for it natively.

    You may have to explicitly add suppor for the format to WordPress in order to use them (see http://css-tricks.com/snippets/wordpress/allow-svg-through-wordpress-media-uploader/ ).

    #23289
    Thomas Pientka
    Participant

    hey bill i achieved everything i want to, you can close this thread.
    by the way i also managaged to have the sidebar shown only in desktop mode and not in mobile, there the whole content is shown.
    regards
    thomas

    #23293
    Bill Robbins
    Moderator

    Fantastic news Thomas. Enjoy your weekend.

    Bill

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘svg logo won't show up on mobile view’ is closed to new replies.