Site logo

Archived topic

How to get a class applied to a background image

5 replies · Started by Sue on March 11, 2022

Viewing posts 1–6 of 6

I'm trying to add a menu item to a secondary menu with social icons, using Menus and Custom CSS in the Customizer. However, the image isn't showing up, and when I inspect it, it looks like all of the visible icons have the "solinks" class applied to them, but the new icon does not:
https://libbyhellmann.com/wp-content/uploads/2022/03/Screen-Shot-2022-03-11-at-4.55.51-PM.png
If you view the site's source code, you should see the images around line 220. The "missing" icon is Pinterest, and the image does show up if I copy and paste the image URL:
.pinterest{background-image: url('https://libbyhellmann.com/wp-content/uploads/2022/03/pinterest.png');}
What am I missing that would enable the solinks class to apply to the pinterest icon?

Oh my gosh, that was exactly what I needed! THANK YOU!!!

No problem :)

This archived topic is closed to new replies.