Archived topic
Height and width of SVG Logo missing
3 replies · Started by Sam on February 28, 2021
I using a SVG icon on my site for the logo and have noticed that the height and width attributes are not being set.
It was uploaded using SafeSVG - I can see the image dims are been shown in the media library
From a quick search on the forum, I found this post.
https://generatepress.com/forums/topic/set-width-and-height-for-svg-logo/
I already have these setting in place -
Hi Sam,
Where are you seeing the missing attribute?
I'm seeing the width and height property set in the HTML already:
https://www.screencast.com/t/Y5ONnqwUm0
Sorry Leo to waste your time - I uploaded a new version of the svg logo and the height and width came through in the media library.
No problem :)