• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How do i shorten the page title space?

TNCclubman

Well-known member
#1
Ive reduced the font size to 8px (from 12px default), but the space it takes up has remained the same. How do I reduce the top and bottom space above and below the Page title?
 

Brogan

XenForo moderator
Staff member
#2
Do you mean the H1 title on each page?

You would have to edit the css for .h1 and/or .titleBar.
Or add custom css to EXTRA.css which will override it.
 

Jake Bunce

XenForo moderator
Staff member
#3
Do you mean this area?

Screen shot 2011-01-03 at 3.29.55 PM.png

Edit this template:

Admin CP -> Appearance -> Templates -> xenforo.css

Code:
.titleBar
{
	margin-bottom: 10px;
}

{xen:helper clearfix, '.titleBar'}

.titleBar h1
{
	@property "h1";
	font-size: 18pt;
	overflow: hidden;
	zoom: 1;
	@property "/h1";
}
edit - Brogan! :p