Experimenting with how to get an SVG to be vertically centered with a header.
The Display swatch is applied both to the SVG and the header. Setting Display to 'inline' gets me almost there but Display = 'inline-block' appears to work better at different header sizes.
Notes:
It might be wise to reduce the size of the SVG for mobile.
Updated 15th April 2025 Following a question from Dominik about how to get an SVG to behave responsively, Steven Jones suggested looking at SVG sprites which I'd never heard of before.
The last example shows an SVG Sprite created initially in Logoist and the SVG file dropped into https://svgsprit.es. The output is two parts and I have loaded both bits of code into the SVG stack.
There is a default class called "icon" which is part of this SVG code. I have then targetted the icon class with three different values for width depending on small/medium/large. I had to use 'force' to get this to work.
I'm still not clear about the difference between this sprite and a normal piece of SVG code! More research needed!