marama: (Cale02 - hmm)
marama ([personal profile] marama) wrote in [community profile] style_system2013-02-03 10:48 am

Changing order of comm name / entry poster

Hello. Wondering/hoping if this is doable. Currently on my reading page, when reading posts from comms, the user/comm names are listed as: 'user' posting in 'comm'. I believe the whole of that is surrounded by a span that includes both poster and entry-poster classes. I'm wondering if the following would be possible:

Reverse the order of user / comm so the comm name comes first.
Remove the 'posting in' text altogether.
Separate the span classes, so poster is surrounded by only the poster class span, and entry-poster with its own span class.

I'm pretty good at understanding css, but I've barely stuck a toe in the water for editing/customising theme layers. I might can figure out the code and how it works if I see it, but don't know enough to try anything without a starter code snippet at this point, or least a list of variables involved. Anyway, is it at all possible?

All help greatly appreciated; thank you.
marahmarie: (M In M Forever) (Default)

[personal profile] marahmarie 2013-02-04 03:58 am (UTC)(link)
You could try inline-blocking to save yourself coding a theme layer. Not saying it will work, but you could try this:

span.poster,span.entry-poster{display:inline-block;}


And add !important before the semi-colon at the end if it doesn't work right off the bat. I'm not at all sure if inline-blocking will do the trick but if does it will basically allow you to style both span classes as separate (but still hierarchically correct) block elements without messing the rest of your nearby CSS up.

Do you want to do this to flip the order of comm/poster? That I could try out for you myself, if you want.

ETA: Luckily your style sheet works on the same layout as this community's so that was easy. Ninety's code above works fine to flip the name order and hides the "posting in" text without any inline-blocking (which I never doubted, I just wasn't sure why you wanted to separate the spans) so if you still want to separate them (as opposed to merely styling them as separate entities) I'm pretty sure that, as said above, you will need a theme layer to do that.
Edited (more info, hmmm) 2013-02-04 04:09 (UTC)