Recent Tutorials
Who is online?
In total there are 7 users online :: 1 Registered, 0 Hidden and 6 Guests :: 1 Bot

smurfavr

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

phpbb3: Display Title Text As It Was Typed

View previous topic View next topic Go down

Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4088
Points : 8387
Reputation : 2008
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sat 17 Aug 2013, 12:07

This tutorial will help you fix the text transformation of titles. Instead of the default of titles being displayed as 'UPPERCASE' they will instead be displayed as 'none' which means the text will display as it was typed. I myself didn't prefer the titles being displayed in all caps which is why I'm writing this up for users who also do not fancy such. The image below gives a brief example of what I am talking about, if you wish to do the same please read on further.


Applying Fix Through CSS
Since I gathered most of the selectors for these titles you don't have to do a lot of work. Below is a code to fix the titles to 'none' i.e. the title text will display as it was typed. To apply the code below navigate your way to..
Admin Panel > Display > Pictures and Colors > Colors > CSS stylesheet

Paste the following code into your stylesheet and submit.
Code:
li.header dd, li.header dt, .h3, h3, table.table1 thead th, dl.codebox dt{
text-transform:none;
}

Once you have submitted the code all titles on the forum should display as they were typed, no longer yelling at you when you read them. Perchance I missed a selector and a title is displaying in uppercase, I would appreciate it if you told me so I can apply that selector to the code above, thanks.

Explanation
If you by any chance want to modify this code I'll explain what you can do with text-transform. I'll explain briefly about the values you can apply to this property if 'none' is not what you were looking for, so please read on below.

none: The text will display as it was typed.
uppercase: TRANSFORMS ALL WRITTEN CHARACTERS TO UPPERCASE.
lowercase: transforms all written characters to lowercase.
capitalize: Transforms The First Character Of Each Word To Uppercase.
inherit: The text-transform property should be inherited from the parent element

If you wanted you could apply a different font to these titles using font-family, or give them a different color with color and some emphasis with font-style. Experiment freely and see what you like best.

Thanks for reading and good luck with your forums. Wink


Tutorial written by Ange Tuteur

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum