View Single Post
Old 07-06-2010, 02:24 AM   #52
Sweetpea
Grand Sorcerer
Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.
 
Sweetpea's Avatar
 
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
Quote:
Originally Posted by Worldwalker View Post
Speaking out of total ignorance of the actual forum code:

I'd do it with CSS. Admittedly this would take some reworking of the CSS for the entire forum. From what I can tell with a quick look, .sigs don't have a class of their own, and a lot of the markup here is presentational rather than semantic, so this might be a non-trivial task. But if you assigned a class to .sigs, then you'd just provide the proper CSS for each user depending on their full/no-text/no-graphic/none .sig setting, and their browser would do all the heavy lifting.

Note: classes with names like "smallfont" are an abomination unto Nuggan. Just sayin'.
Hmm, let's see if I can put something together with stylish for that...


Edit: not too hard actually!

.vb_postbit + div img {
display: none;
}

will remove all images in a signature...

Last edited by Sweetpea; 07-06-2010 at 02:31 AM.
Sweetpea is offline   Reply With Quote