cosmin85 Active member Feb 10, 2014 #1 Hello , How can i put a code for a random banner (4-5 random banners) here : Thanks .
S Stemis Active member Feb 10, 2014 #2 http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181037 Upvote 0 Downvote
cosmin85 Active member Feb 10, 2014 #3 Thanks, but where i need to put the code ? in wich file . Upvote 0 Downvote
S Stemis Active member Feb 10, 2014 #4 In template ad_header. Use TM because upgrade XF may delete/revert template. Insert code after Code: <xen:hook name="ad_header" /> Upvote 0 Downvote
In template ad_header. Use TM because upgrade XF may delete/revert template. Insert code after Code: <xen:hook name="ad_header" />
P Paul B XenForo moderator Staff member Feb 10, 2014 #5 Ad templates are never touched. There is no need to use a template modification, just edit the template directly. Upvote 0 Downvote
Ad templates are never touched. There is no need to use a template modification, just edit the template directly.
cosmin85 Active member Feb 10, 2014 #6 for put the banner down ? how can i make it ? Upvote 0 Downvote
S Stemis Active member Feb 12, 2014 #7 Did you insert this code? Code: <div style="display: block; float: right; line-height: {xen:calc '@headerLogoHeight - 4'}px; *line-height: @headerLogoHeight; height: @headerLogoHeight; vertical-align: middle"> Image or advert code </div> Upvote 0 Downvote
Did you insert this code? Code: <div style="display: block; float: right; line-height: {xen:calc '@headerLogoHeight - 4'}px; *line-height: @headerLogoHeight; height: @headerLogoHeight; vertical-align: middle"> Image or advert code </div>