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.

phpbb3: Display Title Text As It Was Typed

View previous topic View next topic Go down

phpbb3: Display Title Text As It Was Typed

Post by Ange 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.

Ange Tuteur
Themer

Reputation : 204
Points : 9162
Posts : 303

View user profile http://fmdesign.forumotion.com/

Back to top Go down

Re: phpbb3: Display Title Text As It Was Typed

Post by SLGray on Thu Oct 03, 2013 3:52 pm

Approved

Thanks for posting another tutorial.

SLGray
Administrator

Reputation : 294
Points : 1597
Posts : 3723

View user profile http://fmthemes.forumotion.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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