deanshot1 (
deanshot1) wrote in
style_system2017-05-12 01:11 am
Entry tags:
Use of Tiny Icons, Problem Solved
Hi there,
I was wondering if there was a way to use Tiny Icon Images instead of text like Location, Current Music, Mood.
Any help would be most appreciated.
Problem Solved
I was wondering if there was a way to use Tiny Icon Images instead of text like Location, Current Music, Mood.
Any help would be most appreciated.
Problem Solved
no subject
/* this hides the text visually, note this hides it on all of them, so if you want to only replace some headers, make sure to use their specific class like .metadata-label-mood instead of just .metadata-label */ .metadata-label { border: 0; font: 0/0 a; text-shadow: none; color: transparent; } /* this adds a pseudo element to put an image into */ .metadata-label:before { content: ''; display: inline-block; } /* these define the image replacements, make sure to use the width/height of your image */ .metadata-label-mood:before { background: url(http://yourimage.jpg); width: 20px; height: 20px; } .metadata-label-music:before { background: url(http://yourimage.jpg); width: 20px; height: 20px; } .metadata-label-location:before { background: url(http://yourimage.jpg); width: 20px; height: 20px; }no subject
no subject
no subject