A little help modding the poster area in display.template

Started by Mirez, November 11, 2016, 02:27:08 PM

Previous topic - Next topic

Mirez

Hi team,

Is anyone able to assist in editing the display.template file to accommodate these changes to the poster area?

1) Display the postcount and karma on one line (Postcount / Karma)
2) Raise the standard icons so they appear on the same line as the social media mod icons
3) Add lines to break up the custom profile fields section

Attached is the php file along with a screengrab to show what I mean.

I've played aound for the last hour trying just to get 1 and 2 to work but either end up screwing up the formatting of the custom titles or generating parse errors :(

TIA for anyone who has a look!

Antechinus

1/ Try adding .postcount {float: left;} to index.css. Haven't tested it, but should work.

2/ Your screenshot has the standard IM icons before the social media, but your template has them after. Which way around do you want them?

3/ Use .custom {border-bottom: 1px solid #555;} or whatever colour and thickness you want. If you want the border under every second custom field, then you could use nth-of-type trickery to do that. It may require wrapping the custom field li's in their own ul to get it usefully stable though.

Advertisement: