[personal profile] sally_maria posting in [community profile] style_system
I'm sorry to bother you guys with this again, but I'm trying to have comma separated list of tags in my sidebar.

Last year changes in the code introduced an annoying extra space before the comma and [personal profile] marahmarie very kindly wrote me some CSS to fix the problem - see the entry here.

.module-tags_cloud .module-list-item { font-size: 12pt !important; }
.module-tags_cloud .module-list-item:after{content: ","!important; margin-left:-.2em!important;}
.module-tags_cloud .module-list-item:last-child:after { content: ""!important;}


I've recently switched layout to one of the new Strata themes and the code no longer works - there are no commas showing at all.

I tried reverting to the old version of the CSS

.module-tags_cloud .module-list-item { font-size: 12pt !important; }
.module-tags_cloud .module-list-item:after{content: ", "; }
.module-tags_cloud .module-list-item:last-child:after{content: " "; }


and the commas reappear, but still with the annoying extra space.

Does anyone have any idea what's going wrong and any suggestions about how to fix it? I tried changing the "margin-left" figure to .4 and it didn't seem to have any effect, but I don't really understand how that bit of the code is working, so it's hard to know how to change it.

Date: 2012-07-03 09:08 pm (UTC)
foxfirefey: A fox colored like flame over an ornately framed globe (Default)
From: [personal profile] foxfirefey
Your new version is almost okay--I think it just has a couple wee syntax things that end up making it not work. Try this format for it:

Date: 2012-07-03 10:48 pm (UTC)
foxfirefey: Fox stealing an egg. (mischief)
From: [personal profile] foxfirefey
If you do not mind messing around with S2 layers, I think it would not be too hard to add in actual commas, if you like.

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 28th, 2025 08:53 pm
Powered by Dreamwidth Studios