Tags Capitalization

#1
I have requested that my users properly capitalize tags, because I read a long discussion from developers recently stating that tags being all lowercase was just a "thing that happened" on the web, but there was no rhyme or reason to it. I think capitalized tags look better, present better in Google, and are just a more pleasant way of displaying keywords in text links.

I found this thread also: https://xenforo.com/community/threads/tags-suggestions.101992/

But when I edit an existing tag, it ignores my capitalization.
So I created a new tag after deleting it. Same words.
Again it ignored my capitalization.

Is capitalizing tags not possible on XenForo?

Thanks
 
Last edited:

Chris D

XenForo developer
Staff member
#2
Correct. All tags are converted to lower case. MySQL is case insensitive by default so "Tag" is the same as "tag" so we cast all tags to lower case for consistency.
 

OD31

New member
#3
Hi
In a "tag" page (template tag_view), I'd like to capitalize the first letter for the <title> and <h1> HTML tags.
Is it possible? How?
Thanks
 
#4
Add this to your tag_view template
HTML:
<xf:css>

    .p-title-value {

        text-transform: capitalize;

    }

</xf:css>
This will capitalize the tags. No clue about the title itself, though.
 

OD31

New member
#5
Thank you but I haven't detailed enough: I want that only the first letter of the first word be uppercase.
The CSS idea is great, but doesn't work for the <title> tag, which is algo important for me.
 
Top