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

H1 padding on node list?

Dynamic

Well-known member
#1
Does anyone here know how to change the padding for the H1 tag on the forum front page only? I need to move it slightly inward, but I only need to do it on the forums main page.

Thanks.
 

Chris D

XenForo developer
Staff member
#2
In your forum_list template, change:

Code:
<xen:h1>{$xenOptions.boardTitle}</xen:h1>
To:

Code:
<xen:h1><div style="padding-left: 50px;">{$xenOptions.boardTitle}</div></xen:h1>

Actually, this is more elegant and saves you a template edit:

In EXTRA.css add:

Code:
.forum_list .titleBar
{
padding-left: 50px;​
}