Dynamic Well-known member Aug 7, 2012 #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.
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 Aug 7, 2012 #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: Rich (BB code): .forum_list .titleBar { padding-left: 50px;} Upvote 0 Downvote
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: Rich (BB code): .forum_list .titleBar { padding-left: 50px;}