MyBB Community Forums

Full Version: How to alter the subject text size?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where is the code/template that I can modify the font size for the post subject line in the post detail view? Thanks
I'm trying to enlarge the orange boxed text (subject text) Anyone know how? [attachment=17498]
The content block for a post is {$posts}
Looks like the subject part with style is hard coded there and so cannot be altered by the style of its container. Am I right?

Or anyone knows where I can get some help on this one?

Thanks
The subject text in a post uses the class smalltext in global.css associated with the theme being used. That class is used in many different places so it would not be good to change it. You can create a new class, for example smalltext2 and make a change in the postbit template.
Example:

add a new class in global.css
.smalltext2 {
	font-size: 14px;
}

Then go to your templates and edit the postbit template here:

<span class="smalltext2"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

Where it shows smalltext2 above, the default was smalltext.
Thanks a lot Gene_RI
It works very well!
Your welcome, glad I could help.

Gene