I would like to replace the standard text of my currents for tiny icons, but I'm not sure what to add to the CSS code. Any help is greatly appreciated! :)
As usual, the people in this community are awesome. ;) It works, but I do have a couple of issues.
For one, I can't seem to make it work for the tags. The icon is either aligned wrong or the grey background disappears. Secondly, the alignment of the other tiny icons is a bit off. I'm not sure what to change to get everything right.
Hmm, it looks like the tags area won't through a background url because it's already using the background attribute for the gray background behind it. This is the closet thing I can think of for the tags:
.ljtags:before { content: url('IMAGE URL'); }
When you say alignment, do you mean horizontally or vertically? I can visibly see a difference in horizontal alignment but I think it's caused by, for example, the music note being smaller than the house within their image files, even though the image files themselves are 16x16 wide each.
The icon for the tags now shows up nicely, but I can't seem to get rid of the tag text.
When I say alignment, I mean horizontally. I got these icons after seeing them on someone else's journal, where the alignment looked fine. Would it make a difference if I used other icons?
Yeah, that's the thing about Flexible Squares. The tag label has no class to identify it by. There's a way around it, but it gets rid of all of the non-link text. Some people use gaps to separate the tags instead. Here's the code if you're okay with that/want to try it out.
.ljtags { font-size: 0px; }
.ljtags a { font-size: 10.5px; padding-right: 10px; }
Hmm, I can't imagine why it would show up differently. Maybe if I had a screenshot of what you're currently seeing and a screenshot of what you'd like it to be, I could try to figure out why.
Alternatively, there is a theme layer code for replacing the text with icons without css, one that actually eliminates the tags label without having to try to work around it. Here's the code, if you're interested.
I tried the workaround and that seems to do the trick without anything else looking off. :)
I have a couple of screenshots. The first one is what I am seeing in my journal, the second one is what I would like it to be as the icons seem to look nicely aligned with the text.
no subject
.currentlocation strong, .currentmusic strong, .currentmood strong {
display: none; }
.currentmusic {
background: no-repeat url('LOCATION IMG');
padding-left: WIDTH OF IMG; }
.currentmood {
background: no-repeat url('LOCATION IMG');
padding-left: WIDTH OF IMG; }
.currentlocation {
background: no-repeat url('LOCATION IMG');
padding-left: WIDTH OF IMG; }
no subject
For one, I can't seem to make it work for the tags. The icon is either aligned wrong or the grey background disappears. Secondly, the alignment of the other tiny icons is a bit off. I'm not sure what to change to get everything right.
no subject
.ljtags:before {content: url('IMAGE URL'); }
When you say alignment, do you mean horizontally or vertically? I can visibly see a difference in horizontal alignment but I think it's caused by, for example, the music note being smaller than the house within their image files, even though the image files themselves are 16x16 wide each.
no subject
When I say alignment, I mean horizontally. I got these icons after seeing them on someone else's journal, where the alignment looked fine. Would it make a difference if I used other icons?
no subject
.ljtags {
font-size: 0px; }
.ljtags a {
font-size: 10.5px;
padding-right: 10px; }
Hmm, I can't imagine why it would show up differently. Maybe if I had a screenshot of what you're currently seeing and a screenshot of what you'd like it to be, I could try to figure out why.
Alternatively, there is a theme layer code for replacing the text with icons without css, one that actually eliminates the tags label without having to try to work around it. Here's the code, if you're interested.
I'm sorry, I wish I could be of more help!
no subject
I have a couple of screenshots. The first one is what I am seeing in my journal, the second one is what I would like it to be as the icons seem to look nicely aligned with the text.
Screenshot 1:
Screenshot 2:
no subject
no subject
no subject