• Resolved zakich

    (@zakich)


    I am looking for simplified documentation/solution on resizing svg files with css.
    I uploaded svg files but it shows 0 size and doesn’t display. Please share simplfied solutin for a beginner.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Benbodhi

    (@benbodhi)

    Hello,

    Shoot me a link and an explanation of what you’re trying to achieve and I will see if I can help.

    I am also experiencing this issue on a new install of WP, with default theme. The SVG uploads fine, but when i want to display it or use it as a logo. The width and height is set to 0 x 0 and it won’t display.

    It also has cropping errors when using it as a logo.

    • This reply was modified 6 years, 2 months ago by wplrsen.
    Plugin Author Benbodhi

    (@benbodhi)

    Hi @wplrsen,

    Both of these issues have been addressed in the past and are both external to my plugin.

    The CSS – you just need to tell the image what size to be displayed. For example:
    .your-logo-class { width: 100%; }
    Set the value to whatever you want.

    The cropping issue is theme related. You can read about it in this pinned support thread:
    https://wordpress.org/support/topic/image-crop-error-for-beginners/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘image size’ is closed to new replies.