Jul. 3rd, 2012

[personal profile] sally_maria
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.

Profile

Dreamwidth style system discussion

July 2025

S M T W T F S
  123 45
6789101112
13141516171819
20212223242526
2728293031  

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 9th, 2025 11:06 am
Powered by Dreamwidth Studios