It will not happen when you use Smart Sizing![]()
Of course after re-sizing the browser width, page should be reload.
it's not happening on mine.
Is this an option in xf? That would be nice to have the page reload when the browser is resized.
It will not happen when you use Smart Sizing![]()
Of course after re-sizing the browser width, page should be reload.
it's not happening on mine.
Smart Sizing is adsense ad unit optionIs this an option in xf? That would be nice to have the page reload when the browser is resized.
I may go back to the good "old fashion" ads. I truly believe I have lost revs on the responsive ads. Responsive seems like an ever lasting battle to make something viewable on a small device working around the answer that is already here - Tapatalk...Sorry, just the way I see it.![]()
You can achieve that easily enough with media queries, even using a mixture of old and new AdSense code.This allowed me to keep the same leaderboards for larger-format viewing but switch to 300x250 for mobile.
Like @Brogan said above... you use media queries to do this with your default style, using the responsive adsense code. Your responsive adsense code has a class for that ad. You then just change it based on screen / browser width per media query in your css.There is an add-on which forces mobile devices to switch to a different style:
https://xenforo.com/community/resources/mobile-style-selector.1190/
This allowed me to keep the same leaderboards for larger-format viewing but switch to 300x250 for mobile.
You should be able to simply leave blank a position if you use responsive code such as: https://xenforo.com/community/resources/responsive-adsense.2084/I am not able to just show a simple ad unit to mobile users but hide the same ad unit for desktop users.
Is it valid approach?You should be able to simply leave blank a position if you use responsive code such as: https://xenforo.com/community/resources/responsive-adsense.2084/
Display x to y size, above that mobile width, leave the next one blank with 0 0 for width and height, so it pulls nothing and does nothing. Have you tried that?
I thought you just can't use CSS display: none to hide ads? Using their own responsive code and just displaying nothing... that isn't tricky, you just aren't pulling any js request from them under x circumstance.Is it valid approach?
We use essential cookies to make this site work, and optional cookies to enhance your experience.