Archived topic
Alternative to span for blocks?
3 replies · Started by Nicholas on February 14, 2022
I'm using GP & GB pro and I remember reading that span elements will not work within the blocks. I'm trying to use two different fonts for specific words in an H1. What would be the best work around to accomplish something like this GP?
Hi Nicholas,
You can use span on different words within a block.
Gutenberg's UI has an option to edit blocks' HTML as shown here - https://share.getcloudapp.com/Wnuq9n4k
Solved using HTML block.
Solved using HTML block.
That works as well but that'll mean you'll have to manually style it.
Let us know if you need further help. :D