![]() |
Responsive Ad Displays! Does anyone have them? Or know how to program them?
I'm designing a site right now. Most of the traffic is mobile traffic, so I am trying to cater it to being a responsive display so it will adapt to whatever display width the user is coming from. Is there an ad service that has responsive ad displays? I'd like it to be the width of the header on all responsive displays. So it would have to know how the user is viewing. Webpage at 800 width, tablet at a certain width, and mobile at a certain width depending on how they are holding device.
Most programming has catered to the responsive design, but I can't seem to get ads to do this without creating an entirely new mobile version of the site. Any help would be greatly appreciated. |
|
Are you talking about using 3rd part ad providers like juicyads or whatever? Probably not yet then. If you're using your own ads like banners from affiliate programs than there are simple solutions.
|
you could use css media queries to show and hide content based on the viewport width. Probably isn't ideal seeing as you'll still have both the normal ads / mobile specific ads technically on page (unless you did a ajax load of the script) thus making it a bit more on the heavy side. But it would accomplish what you are trying to do.
@media screen and (max-width: 400px) { // or whatever you want to target .mobile-ad { display:block } .desktop-ad { display:none; } } I didn't test this. But in theory should work. |
You gotta tell more how you made it, so we can tell you. I am interested in this, too, cause I plan something with responsive themes in the future. I have themes ready.
|
All times are GMT -7. The time now is 02:10 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123