FM Themes
Welcome to FM Themes
where you can share your punBB, phpBB 2, Invision, & phpBB 3 themes for Forumotion forums.

You are viewing the forum as a guest, so you will not be able to use the full forum. To use all the features of the forum, you need to log in or create a FREE account by registering.
Latest topics
» This or That
by brandon_g Yesterday at 10:30 am

» Count to 2000
by brandon_g Yesterday at 10:25 am

» Easter Themes
by SLGray Thu Feb 23, 2017 12:33 pm

» Easter Themes
by SLGray Thu Feb 23, 2017 12:32 pm

» Easter Themes
by SLGray Thu Feb 23, 2017 12:31 pm

phpbb3: Display Title Text As It Was Typed

View previous topic View next topic Go down

Ange Tuteur
Themer
Reputation : 205
Points : 9163
Posts : 303
View user profile http://fmdesign.forumotion.com/

PostAnge Tuteur on Thu Oct 03, 2013 2:37 pm

Display Title Text As It Was Typed phpbb3

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

Useful Reading


[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]

Tutorial written by [You must be registered and logged in to see this link.]
No reproduction possible without my consent.
SLGray
Administrator
Reputation : 297
Points : 1666
Posts : 3790
View user profile http://fmthemes.forumotion.com

PostSLGray on Thu Oct 03, 2013 3:52 pm

Approved

Thanks for posting another tutorial.

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