geez i never new that easythanks brogan.
the hardest part is putting a 468x60 banner on the ad_header
but it wont work the way i want.
I want it to be in middle and center (between the xenforo header logo and the signup/link)
i tried to use
<center>img src graphics code here</center>
and
also putting inside the table,
still wont proceed as desired.
any idea?
<div style="text-align: center;">
BANNER CODE HERE
</div>
Yes I thought so. I had wondered if it were an addon tbh.He has it outside the main container.
I doubt he is using the ad template, probably just edited the main template manually.
So an ad template within an ad template? CuriousYou can always create your own ad template and then include it in the template.
That's what I've done to get ads below the bottom breadcrumb.
<xen:hook name="page_container_breadcrumb_bottom">
<div class="breadBoxBottom"><xen:include template="breadcrumb" /></div>
<xen:include template="cta_adsense_banner_wide" />
</xen:hook>
Done and thanks.No, I created my own template and included that in the PAGE_CONTAINER template.
Code:<xen:hook name="page_container_breadcrumb_bottom"> <div class="breadBoxBottom"><xen:include template="breadcrumb" /></div> <xen:include template="cta_adsense_banner_wide" /> </xen:hook>
<div style="text-align: center;">
<div style="text-align: center; margin: -15px auto 12px;">
Where in the temple would I put this code? At the very bottom?No, I created my own template and included that in the PAGE_CONTAINER template.
Code:<xen:hook name="page_container_breadcrumb_bottom"> <div class="breadBoxBottom"><xen:include template="breadcrumb" /></div> <xen:include template="cta_adsense_banner_wide" /> </xen:hook>
Where in the temple would I put this code? At the very bottom?
<xen:include template="cta_adsense_banner_wide" />
<xen:hook name="page_container_breadcrumb_bottom">
<div class="breadBoxBottom"><xen:include template="breadcrumb" /></div>
<xen:include template="cta_adsense_banner_wide" />
</xen:hook>
Also, I've generated an AdSense code but can't figure out where to actually put it to get it to show up.
Here's the code I'm using...Check the source code of the page. Does your Adsense code show in the source? It's possible the code is there but it isn't generating anything.
<script type="text/javascript"><!--
google_ad_client = "ca-pub-2578191216111888";
/* XenForo */
google_ad_slot = "8174956989";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<xen:hook name="page_container_breadcrumb_bottom">
<div class="breadBoxBottom"><xen:include template="breadcrumb" /></div>
<xen:include template="cta_adsense_banner_wide" />
</xen:hook>
<xen:hook name="page_container_breadcrumb_bottom">
<div class="breadBoxBottom"><xen:include template="breadcrumb" /></div>
<xen:include template="cta_adsense_banner_wide" />
</xen:hook>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-2578191216111888";
/* XenForo */
google_ad_slot = "8174956989";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
EDIT: Wait, it appears to be working. It is sometimes showing up on page refreshes, and sometimes not. Could it be a cache issue on my end?
Also, is there a way to have the template work globally, or do I have to manually apply the template edits to each style?
We use essential cookies to make this site work, and optional cookies to enhance your experience.