Spenser Active member Jun 14, 2011 #1 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?
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?
Paul B XenForo moderator Staff member Jun 14, 2011 #2 You can try adding a border-bottom to the ad template. Upvote 0 Downvote
Spenser Active member Jun 14, 2011 #3 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> Upvote 0 Downvote
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>
B Bram Well-known member May 10, 2013 #4 Or add a visible discussionlistitem <li class="discussionListItem visible"> ad code </li> Upvote 0 Downvote