1. 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?

Discussion in 'Styling and Customization Questions' started by Dynamic, Aug 7, 2012.

  1. Dynamic

    Dynamic Well-Known Member

    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.

  2. Chris D

    Chris D XenForo Developer Staff Member

    In your forum_list template, change:



    <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:

    .forum_list .titleBar
    padding-left: 50px;​
    Dynamic likes this.
  3. Dynamic

    Dynamic Well-Known Member

    Thanks heaps Chris! Appreciated :)
    Chris D likes this.

Share This Page