FM Themes
Welcome to FM Themes
where you can share your ModernBB, 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.
Share
View previous topicGo downView next topic
avatar
VIP Member
VIP Member
Posts : 303
Points : 9165
Reputation : 207
View user profilehttp://fmdesign.forumotion.com/

phpbb3: Display Title Text As It Was Typed

on Thu Oct 03, 2013 2:37 pm
Message reputation : 100% (2 votes)
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


text-transform
font-style

Tutorial written by Ange Tuteur
No reproduction possible without my consent.
avatar
Administrator
Administrator
Posts : 3951
Points : 1848
Reputation : 311
View user profilehttps://fmthemes.forumotion.com

Re: phpbb3: Display Title Text As It Was Typed

on Thu Oct 03, 2013 3:52 pm
Approved

Thanks for posting another tutorial.
View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum