I have used this code in my CSS for a few years now, which always worked to replace the standard lock icon on entries with a custom made one:
img[src*="http://www.dreamwidth.org/img/silk/entry/locked.png"] {
width:0;
height: 0;
background-repeat: no-repeat;
background-image: url(http://i148.photobucket.com/albums/s37/twinklewitch/lock1.gif) !important;
padding: 11px 13px 0 0 !important;
text-decoration: none;
}
img[src*="http://www.dreamwidth.org/img/silk/entry/private.png"] {
width:0;
height: 0;
background-repeat: no-repeat;
background-image: url(http://i148.photobucket.com/albums/s37/twinklewitch/stop.gif);
padding: 11px 13px 0 0 !important;
text-decoration: none;
}
For some reason this doesn't work anymore, since my journal now shows the standard locked icon on all entries. Anyone knows how to fix this?
For some reason this doesn't work anymore, since my journal now shows the standard locked icon on all entries. Anyone knows how to fix this?
no subject
Date: 2015-01-30 05:44 pm (UTC)I don't really understand why but if you remove the http: from img[src*="http://www.dreamwidth.org/img/silk/entry/locked.png"] (turning it into img[src='//www.dreamwidth.org/img/silk/entry/locked.png']) it will work. Quite mysterious.
no subject
Date: 2015-01-30 06:29 pm (UTC)no subject
Date: 2015-01-30 07:32 pm (UTC)no subject
Date: 2015-01-30 07:52 pm (UTC)no subject
Date: 2015-01-30 08:51 pm (UTC)Note: At some point if you decide to use the SSL browsing, you might run into warnings if your images can't be accessed over SSL too.