CSS settings are working perfectly fine, but I feel issues are different as for some users both username and full name is visible in the post categories whereas for few users only username is visible (from the database only the usernames is getting fetched - checked it via page source).
Apart from this Profile headline css code is perfect but how to fetch the details from the database as in it is not getting fetched from the database so there is no question to making it visible.
Kindly help me out with this
If you have prioritize username in ux enabled then usernames will be shown on each post if the user’s username and full name are the same.
And you’ll be stuck if you want to hide usernames with CSS only because you can’t target previous elements.
For example, you’ll have two posts that have:
And you won’t be able to hide usernames only for users that have a full name different from their username, because the username is displayed before the full name.
It’s a bit complicated to explain
So you want a CSS-only solution, you’d need to disable prioritize username in ux and use the following CSS:
Thank you so much for the effort you are making but both this code is not working, even I have added !important in css but still it’s not working.
and for the profile headline it is not coming from the backend see the below snapshot for reference
I already mentioned that I wanted to Show Profile Headline, if this headline can be shown below the full name that will be awesome, just like in the second picture you have sent in the place of the ‘Internship Secured’ profile headline should be visible.