Yes, you can absolutely do this with SVG, as long as you’re using inline SVG code, which you’ll need a program like Adobe Illustrator to produce. You may be able to use an online tool (like this one) but I haven’t tried that.
Chris Coyier of CSSTricks.com did an excellent write up of this.
Fork his SVG codepen and play around with it to get a feel for how it works.
Good luck!
Related Posts:
- @wordpress/create-block image url in css
- How to handle a background-size: cover image in WordPress?
- How to upload and style svg logo?
- How to change background image
- How to reference a theme image in a stylesheet?
- getting uploaded SVG dimensions on front-end
- Making WordPress Gallery (.gallery-item) Responsive?
- Adding HTML within an image title attribute
- Width 100%: Aspect ratio of image
- Add CSS class to every image
- How to Make WordPress Default gallery responsive on mobile?
- Responsive background images added inline
- Featured Image .svg height and width 1px only
- How can I upload an image for background use using the Theme Editor in WordPress?
- SVG Featured image not shown in twitter
- Override img class in gallery
- Multiple amp-image overlays. How to properly do this in wordpress?
- Image not shown in the theme as it’s showing in HTML template [closed]
- Background-image not showing? [closed]
- t5-fresh-editor-stylesheets.php breaks image placement in WP Beta 3 editor
- Custom header tiling?
- Using featured img as div background
- How do I get my main image to stretch the full length of the screen?
- Different background images on different sites [closed]
- HowTo: develop WP template with dynamic background image
- How would you add sequentially numbered labels to images in posts?
- css to fit image by HEIGHT
- Allow SVG in WP step by step
- How to implement CSS-defined images from bootstrap site in wordpress theme
- a: hover issue with image issues [closed]
- All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images
- Moving an image to the side [closed]
- Random home page background images with caption text
- Image Captions Have a 10px Extra Margin, And It’s Not CSS? [duplicate]
- Can i have 2 separate Galleries on 2 separate pages each go to a DIFFERENT Attachment.php file?
- Image modification
- How to remove image size inline style in article and include caption
- Is there a layout to place 2 same sized images in two columns on the WordPress page?
- Fullscreen Page Background without Plugin [closed]
- Hover a css icon width other color inside wp_get_attachment_image
- Landing Page with HTML CSS JS and Images on wordpress
- I would like to set a FULL SCREEN background image to all my pages (same way it is on my home page)
- Change header image size
- Adding custom html/css/images to Theme
- Is there a way to create referable automatic numbering in image captions?
- Custom Background for each page and post
- Why do images inserted in the post content via the_content() go off the max-width?
- How can we achieve this image css style?
- Remove image border in twentyeleven theme [closed]
- How to display posts with images in fullscreen slider
- Using a full-width hero image that can be changed in the dashboard by a user
- Put image onto header
- Are WP images responsive by default?
- Image thumbnail on single product issue | WooCommerce
- Background image call problem
- all images of past post messed up after changing theme
- Custom styling Insert Media window
- Display ajax preloader for large images within posts
- An image on my site is showing as the wrong image [closed]
- Theme files and imagesnot loading on a mobile device
- Is there a good way to use CMS images with CSS
- Stop underlining image links
- Font size on image captions on mobile
- Parallax image problem
- Theme using masonry layout script rendering overlaped images in Google Chrome [closed]
- Why is inline CSS added to images automatically? [closed]
- Create decorative image border with CSS? [closed]
- Why are some SVG-images not visible in my footer?
- Placing a background image with text over it
- WordPress update leads to 404 error on admin page and signup. CSS mishap with all plugin related functions
- I am having trouble displaying an image at the top of a widget area [closed]
- Is there a way to add background-image to theme.json?
- Can’t upload svg files in WordPress
- CSS how to target the caption of one individual image?
- How do I set attributes for all images in a site
- Customize all image captions
- How do I link an image in a svg file in wordpress?
- add_image_size wont work after get_intermediate_image_sizes
- How to get the image-URL from Media-Upload in a post?
- One of my image sizes isn’t showing up in srcset
- Featured Image Cetegory Not Shown In WordPress
- after migration, newly uploaded images won’t show up
- Why do I have blury images in WordPress
- Disable save as image on smartphones using all browsers ( chrome, firefox, ie, cm, opera )
- override a css style [closed]
- Thumbnail Image Rounded Corners w CSS (or any other good method)
- Implementing a modal(lightbox) for all images in all post-gallery posts
- How to increase media image scale limit?
- Blank image thumbnails in media library
- Getting extra image links in code with wp_get_attachment_image
- After reinstalling wordpress images do not appear in posts?
- Dinamically modifying attributes of images on posts
- Featured images are cropped on index and post page
- Issue uploading images
- How can I use images that are on the server locally?
- Image filter works on attachement pages but not posts. I can’t get the image ID
- Get images uploaded to this post in popup on editor screen
- Remove “align” attribute on images
- How do I add a nested conditional within an echo – to use a default image if there isn’t one in the post?
- How to get customable image header?