New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elementor v2.2.7 issue with SVG sizes #5987
Comments
|
Working fine at my end with v2.2.7 The SVG's don't appear by default on adding (that's a WordPress issue; the way it handles SVG images by defaulting the height and width attributes to It has always been this way for me. The I use the SVG Support plugin by Benbodhi. |
|
I also set the width value - which does make it work on v2.2.7 however it appears to have a limitation on how large I can make the image. And this is with max-width and width set on full. |
|
If you set it to |
|
This is exactly what is not working correctly in v2.2.7 I had large SVG's working fine. And then after updating to v2.2.7 it would no longer fill 100% of the container width. |
|
Anyone who has this issue, make sure to give your image/SVG width and Preferably in pixels. |
|
ref: #5897 |
|
So the problem here is that SVG's won't display with width: 100% and need a defined set of pixels? Why not do 100vw instead which seems to work and do a fallback to 48px for older browsers? |



Heya,
I just updated some sites to v2.2.7 and all the SVG images on the sites disappeared.
The SVG's are still there but the size settings on the image widget no longer works correctly.
Rolled back to v2.2.6 and all is fine.
I created this ticket and it was ignored and closed as you said it didn't have the following info:
This report is missing key information:
Prerequisites.
Steps to replicate.
Isolating the problem.
System info.
So here we go:
Prerequisites.
Steps to replicate.
Isolating the problem.
Same as above
System info.
PC Win 10
32GB RAM
NVIDIA 1070
Cloudways Vultr server
Let me know if you need any further info.
The text was updated successfully, but these errors were encountered: