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

Banner above forum list and sidebar on fixed style

Discussion in 'Styling and Customization Questions' started by Sasa, Jul 23, 2012.

  1. Sasa

    Sasa Active Member

    How to insert baner 724x90 on forum_list template like on image (above forum list and sidebar) on fixed default xenforo style?

    Untitled.jpg
     
  2. Arty

    Arty Well-Known Member

    Edit ad_above_top_breadcrumb template
     
  3. Sasa

    Sasa Active Member

    I do not know how to fix banner goes above the sidebar and not to be displayed behind the sidebar. Page width is 980px.
    Untitled.jpg
     
  4. Arty

    Arty Well-Known Member

    Oh, right. That template is located above navigation, but its inside middle content block.

    Create new template for your ads, name it ad_below_header.
    In PAGE_CONTAINER template find
    Code:
    <xen:hook name="page_container_content_top" />
    and add before it
    Code:
    <link rel="xenforo_template" type="text/html" href="ad_below_header.html" />
     
    Sasa likes this.
  5. Sasa

    Sasa Active Member

    In PAGE_CONTAINER I added
    Code:
    <xen:include template="ad_below_header" />
    and works.
     

Share This Page