I have a social icons block with icons for facebook and a few more. Now I want to add an icon that cant be chosen in the editor. I can choose “link” and gets a gray circle. How do I either change this icon image to a coustomized one of my own suiting this link, or how do I add an completely new customized icon into this block?
Hi @hbhandlar – you could probably add some custom CSS for that. Could you provide a link to your site so I can take a look directly and give you a hand? As well, could you upload the graphic you want to replace the link with to your media library and provide the URL here?
While the Customizer is not exposed by default when using Site Editing, you can still access it manually by adding /wp-admin/customize.php after your URL. You can then add custom CSS in the Additional CSS area.
I added all the code above in th ecustomize.php view. But then, I think I have to add something for the object also, under “block, advanced, “ytterligare CCS-.klasser” in swedish. What should I add there? I have tried parts of the code above but it does not work.
But then, I think I have to add something for the object also, under “block, advanced, “ytterligare CCS-.klasser” in swedish.
No, the CSS should work without needing to add any additional CSS classes. 🙂
I have tried parts of the code above but it does not work.
The reason it’s not working is that in copying over the CSS I provided, some of the quote marks have gotten mangled. If I look at the CSS on your site, it reads: