This is kawina's code:
a[href ^='/members:'] { padding-right: 18px; background: transparent url(/local--files/system:icons/members.png) no-repeat center right; }
Now, I want it to only appear when I specify the class "membersicon", and I want it to show an icon called 'icon.png' on the page that is being linked to. Is that possible?
I've added #page-content .membersicon to the start, but not sure how I'd go about accessing the right image.
#page-content .membersicon a[href ^='/members:'] { padding-right: 18px; background: transparent url(/local--files/system:icons/members.png) no-repeat center right; }