admin管理员组文章数量:1122846
I need to create a custom type post where will be added the name of the client and its logo. The logo will be added as a Featured Image. But the problem is that WordPress does not recognize the SVG size.
What is an alternative fixing that? I tried to modify the CSS but it didn't work.
I need to create a custom type post where will be added the name of the client and its logo. The logo will be added as a Featured Image. But the problem is that WordPress does not recognize the SVG size.
What is an alternative fixing that? I tried to modify the CSS but it didn't work.
Share Improve this question edited May 11, 2021 at 16:27 brasofilo 22.1k8 gold badges69 silver badges264 bronze badges asked Mar 23, 2020 at 16:34 danihazlerdanihazler 1296 bronze badges1 Answer
Reset to default 0The answer was quite simple ... just be sure that the height and width are set inside the svg code, like: <svg height="100" viewBox="0 0 50 50" width="100">
本文标签: post thumbnailsFeatured Image svg height and width 1px only
版权声明:本文标题:post thumbnails - Featured Image .svg height and width 1px only 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736294360a1929341.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论