elementor / elementor/elementor
⌛ 🔗 SVG image width is hard coded as 48px when the Image widget has a link
- Dominant language
- PHP
- Stars
- 7.1k
- Forks
- 1.6k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 193
Description
## Prerequisites
- [x] I have searched for similar features requests in both open and closed tickets and cannot find a duplicate.
- [x] The feature is still missing in the latest stable version of Elementor ( Elementor Pro. )
**What problem is your feature request going to solve? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When uploading SVG to and image widget and adding a link the width is set to 48px in CSS. It ignores size specifications from the widget. See frontend.min.css
```.elementor-widget-image .elementor-image > a img[src$=".svg"], .elementor-widget-image .elementor-image figure > a img[src$=".svg"] {width: 48px;}```
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
Allow overriding the 48px width of svgs in image widget
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
Currently I write I add an width declaration via custom css
**Additional context**
Add any other context or screenshots about the feature request here.
Contributor guide
Assessment
This issue has not been assessed yet.