Elementor Inline SVG Plugin
Elementor Inline SVG
An Elementor widget that lets you add an SVG file as markup instead of an html image tag.
How it works
Elementor Inline SVG works much like the core Image widget from Elementor, except that it expects SVG files and outputs the file’s contents as markup in your page. This eliminates the extra HTTP request that otherwise occurs when using the tag and allows for styling and interacting with the SVG elements through CSS and Javascript.
Options
- Max-width control that lets you specify a maximum width in pixels or percentage [responsive]
- Custom aspect ratio to change the default aspect ration of the contents [responsive]
- Alignment to left, center or right
Installation
- Make sure Elementor is installed and active on your website
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Edit a page (or post) using Elementor
- Find and use the new “Inline SVG” widget
FAQ
Installation Instructions
- Make sure Elementor is installed and active on your website
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Edit a page (or post) using Elementor
- Find and use the new “Inline SVG” widget
Changelog
1.2.0
- Tweak — Better sizing management
- Fixed — Typo on render attribute
- Added — Handle css styling
1.1.0
- Added — Controls to modify default and hover color of shape elements
- Fixed — Connection refused error on DomDocument load function
1.0.0
- Fixed — Compatibility with the latest version of Elementor
- Added — Ability to add link to svg
- Tweak — Reorganised controls
0.0.3
- Added controls to allow the SVG to have a custom aspect ratio instead of maintaining the default one
- Removed default placeholder image for SVG file control
- Added required PHP version 5.0 due DOMElement library
- Fixed — Bug where you needed to refresh the editor to see the SVG
0.0.2
- “Width” control is now responsive
- SVG can now be aligned to left, right or center
- Updated required Elementor version to 1.4.1
0.0.1