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

Ads below sticky threads

Discussion in 'Styling and Customization Questions' started by Spenser, Jun 14, 2011.

  1. Spenser

    Spenser Active Member

    If I add an ad (weird sentence somehow...) below the sticky threads, the first "normal" thread has no line on top.
    Is there anything I can do about this? sticky.png
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can try adding a border-bottom to the ad template.
     
  3. Spenser

    Spenser Active Member

    Stupid me. It works!

    For those being as dump as me:

    Code:
    <xen:hook name="ad_thread_list_below_stickies" />
    <xen:if is="!{$visitor.user_id}">
    <div style="border-bottom: 1px solid @secondaryLight;">
    <div align="center">
    <!-- AdCode --!>
    </div>
    </div>
    </xen:if>
     
    Bram likes this.
  4. Bram

    Bram Well-Known Member

    Or add a visible discussionlistitem

    <li class="discussionListItem visible">
    ad code
    </li>
     

Share This Page