Archived topic
Blog archive featured images aligned to the left
3 replies · Started by Yoeri on January 18, 2021
Hello! :)
If you go to my blog archive page on mobile the featured images are aligned to the left. I remember this is due some custom code but not sure (see attached url). I'd like to restore it to the original outlining.
Second question: I like to have a crown after my name with SVG like this: https://imgur.com/Ug8oMde
I prefer to do this with CSS but other options are welcome as well.
Thank you guys!
Hi there,
did you resolve these two issues?
Excuse for my late reply!
The image aligning is fixed indeed and I've put a (FontAwesome) icon before my name. But the crown isn't that beautiful so maybe you know an SVG alternative like the example I gave?
Thanks again! :)
The CSS content property supports img HTML
So you can use content: url(the_image_url); to display any image you have in your media library.
Note: The original image must be the exact size you want it displayed, it cannot be changed by CSS.