sally_maria: (Spike)
wrong but wromantic ([personal profile] sally_maria) wrote in [community profile] style_system2010-06-09 03:24 pm
Entry tags:

Comma-separated tag list (Solved)

The one thing I miss on Dreamwidth is that I really want my tags to display as a comma-separated list, rather than a cloud or a long list. I was able to do that on LJ with somebody else's custom CSS, but unfortunately I don't know enough to be able to adapt it.

I'm currently using a Crossroads theme and if I could get all the text to display the same size as the smallest for the cloud setting, that would be great.

Is there anyone who has done this, or would be able to help me set it up?

Thank you very much in advance.
syntheid: [Elementary] Watson drinking tea looking contemplative (Default)

[personal profile] syntheid 2010-06-09 03:16 pm (UTC)(link)
On the modules page, you can change the way the tags display from cloud to list?
syntheid: [Elementary] Watson drinking tea looking contemplative (Default)

[personal profile] syntheid 2010-06-09 03:33 pm (UTC)(link)
Ah, well then, once it's in the list, do something like .module-tags_list li { display: inline; } to get it all on one line. Not sure about the commas, though.
syntheid: [Elementary] Watson drinking tea looking contemplative (Default)

[personal profile] syntheid 2010-06-09 03:43 pm (UTC)(link)
Oooooooooooooooooooor in the cloud I guess you could do .module-tags_cloud .module-list-item { font-size: 10pt !important; } (and replace the size with what you want), if I was being smarter.
jana: [Naruto] Sakura (Default)

[personal profile] jana 2010-06-13 09:35 am (UTC)(link)
To get the tag cloud to display as a comma-separated list, in addition to [personal profile] syntheid's solution, try this out (it works for me):

.module-tags_cloud .module-list-item:before{content: ", "; }
.module-tags_cloud .module-list-item:first-child:before{content: " "; }
jana: [Naruto] Sakura (Default)

[personal profile] jana 2010-06-13 10:12 am (UTC)(link)
That should do it (use it instead of the other css you got from me):

.module-tags_cloud .module-list-item:after{content: ", "; }
.module-tags_cloud .module-list-item:last-child:after{content: " "; }

I'd copied the other css from a different layout (not on DW) where I use it as a workaround, but this solution here makes much more sense. And it works too :)