Here -> page_container_js_head ?Please try this little code:
It might not be perfect.Code:<script> $(function() { var $headerHeight = $('#header').height(); var $headerProxyHeight = $('#headerProxy'); if ($headerHeight > $headerProxyHeight) { $headerProxyHeight.css('height', $headerProxyHeight + 50); } }); </script>
OkEDIT: Not working.
<xen:if is="@enableResponsive">
@media (max-width:@maxResponsiveWideWidth)
{
#header .samCodeUnit, #header .samBannerUnit, #header .samTextUnit
{
display: none;
}
}
@media (max-width:@maxResponsiveMediumWidth)
{
#header .samCodeUnit, #header .samBannerUnit, #header .samTextUnit
{
display: none;
}
}
@media (max-width:@maxResponsiveNarrowWidth)
{
#header .samCodeUnit, #header .samBannerUnit, #header .samTextUnit
{
display: none;
}
}
</xen:if>
You can use device criteria to hide ads from mobile.But I don't like this, in my opinion, it must have other solutions.
No, I would like to make the opposite, seen the number of people who uses mobiles, I would exactly like to show him on mobiles, in way resized well on, but who appears all the same.You can use device criteria to hide ads from mobile.
In which template to add it?I got this code to work:
Code:<script> $(function() { if ($('#header .SamLink').length) { $('#headerProxy').css('padding-top', $('#header').height() - $('#headerProxy').height()); } }); </script>
I confirm, it work, thank youI got this code to work:
Code:<script> $(function() { if ($('#header .SamLink').length) { $('#headerProxy').css('padding-top', $('#header').height() - $('#headerProxy').height()); } }); </script>
Use a package to control how many ads can display at the same time on the same position.
Set package option "Maximum Ads Displayed" to 1 because that option is per position so if they end up both on the same position, it will only display one. Also set display order to "Ad order asc" and make the U ad to show up first by setting display order to 1 and 2 for the other ad.I am. I'm saying that at times, the "U" and the "L" show up in the same spot. I want them both to show up if they are separated, but nay one to display if the last post is also the first unread.
Allows you to embed ads outside of XenForo.What does the embed ads link do?
We use essential cookies to make this site work, and optional cookies to enhance your experience.