Some inline SVGs blink and disappear
-
I am trying to use inline SVG to embed diagrams in WP posts so that the contained text will be indexed to the page rather than the image hanging off the page. However, some images display properly and others just blink and disappear.
If you use the browser inspector, the various parts of the image are on the page but are not visible.The images (from PowerPoint originally) have all been processed the same way through Inkscape and output as Optimised SVG so they have a viewBox and no height/width attributes. They display fine when not inline. The width of the inline images in WP is set by a custom class assigned on the WP image block (Additional Classes) so the SVG inherits the width from the figure tag created by that.
I have the force inline option turned on.The page I need help with: [log in to see the link]
- The topic ‘Some inline SVGs blink and disappear’ is closed to new replies.