Oh sure, you could do that too. I assume you have used ::first-letter and a few other shenanigans like hidden overflow. That's not difficult, but if it's going to be done in core a basic PHP string chop would make more sense. Or it could be done in Twig syntax in any template (or extension).
Which, come to think of it, I might as well try just for giggles. I assume something like this would do it:
Brackets are probably wrong but should be easy to sort.
ETA: Basic HTML and CSS implementation, if anyone wants it.
Markup:
Which, come to think of it, I might as well try just for giggles. I assume something like this would do it:
Code:
{{ {postrow.POST_AUTHOR_FULL} |first }}
ETA: Basic HTML and CSS implementation, if anyone wants it.
Markup:
Code:
<dt class="has-profile-rank no-avatar"><div class="avatar-container bung-username-in-here-too">Oh hai!</div><a href="whatever" style="color: #hexstuff;" class="username-coloured">Oh hai!</a></dt>
Code:
.bung-username-in-here-too { width: 1.8rem; height: 1.8rem; overflow: hidden; text-align: center; writing-mode: vertical-rl; text-orientation: upright;}.bung-username-in-here-too::first-letter {font-size: 1.5rem;font-weight: bold;}
Statistics: Posted by Gumboots — Thu May 30, 2024 12:24 am