Site logo

Archived topic

SVG logos in footer

3 replies · Started by Anders on May 2, 2021

Viewing posts 1–4 of 4

Hi,

I'm creating a footer with GeneratePress block element + GenerateBlocks.
I need to have 2 different company logos in line (both are svg format so I have SVG Support -plugin installed).
Do you have any tip on how to best achieve this?
The default Gutenberg image block doesn't handle svg well at all, I could convert svg to png but that just seems backwards.

With GenerateBlocks there is this great feature of adding inline SVG code to icons, could that be use for displaying logos
...actually perhaps I can just add 2 buttons inline without background and text and no link, does it make sense?

Thanks!

Hi there,

You can use the HTML block and paste the raw SVG code on it.

You may need to write a bit of custom CSS if you need to control it's sizing.

Thank you!

No problem. :D

This archived topic is closed to new replies.