Not Solved [How To?] make advertisement banner fit to all screen resolution ?
#1
Not Solved
Hi, how to make all banner in mybb forum fit to other screen resolution
Reply
#2
Not Solved
If your using Adsense, they offer responsive banners that work on all screen sizes.
Hello I'm Wally, the administrator of Sharree.com
Reply
#3
Not Solved
So it looks like the banner is a static image so you'll need to get separate banners to display to mobile users if that's the issue. I wouldn't recommend stretching the image or anything like that. You'll need to talk to your clients who purchased the advertising about it. It doesn't look too bad on my laptop. See: https://u.nya.is/iudsop.png. This isn't something you can do with an image banner. It'd have to be text and specifically written HTML/CSS/JS banner to do the responsive design. I personally don't think it's an issue design wise however talk to your clients for design adjustments on the advertisements and make the edits from there. Please let us know if you have further questions on how to proceed Smile

(2016-12-23, 07:26 PM)Sharree Wrote: If your using Adsense, they offer responsive banners that work on all screen sizes.

He is using MyAdvertisements will static image banners.

[Image: ohoqrs.png]
Software Engineer specializing in C# Program Development
Reply
#4
Not Solved
If he's able to, just add inline styling to the <img> tag.

<img src="ad-img-link-here" style="max-width:100%">
Hello I'm Wally, the administrator of Sharree.com
Reply
#5
Not Solved
(2016-12-23, 08:13 PM)Sharree Wrote: If he's able to, just add inline styling to the <img> tag.

<img src="ad-img-link-here" style="max-width:100%">

Wouldn't the min-width also need to be 100%? So the correct one would be as below? Also you forgot your semicolon :/

<img src="ad-img-link-here" style="max-width: 100%; min-width: 100%;">
Software Engineer specializing in C# Program Development
Reply
#6
Not Solved
As Deatives said using his code will then restrict it to display properly.
Check out all my submissions here - click me
MyBB support at it's finest. 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)