![]() |
How add floating ads in left and right vb4
welcome everybody
How add floating ads in left and right vb4 ? This code works PHP Code:
PHP Code:
Is there a way to fit with Style |
|
This information below will only work correctly on fixed width sites...
Say for example your site has a fixed width of 800px centered on the screen, and then your side banners are a width of 160px each. That will require a minimum of 1120px total to show everything (without any margins). Now, you can take into account a small margin between ads so everything doesn't show right on top of each other, so we'll add 80px (20px on both the left & right side of each ad) for a total of 1200px. We'll now need to write css code to say don't show those sidebar ads when the screen is less than 1200px wide. Code:
@media screen and (max-width: 1199px) { |
1 Attachment(s)
|
Quote:
Quote:
Everything is fine now I set the maximum width of 1000 Ad 2unit 160 and the total in 1250 Is this good for you ?? Best Regards Quote:
But when minimize the window size of the Forum ... It appears on the forums |
Quote:
Using media screen can help in this case but note that when viewing your banner ads on smaller screens, they can hide a part of your content on right and left side. |
1 Attachment(s)
Quote:
|
Quote:
But you can develop it so that it can exclude Forum Best regards for your cooperation |
1 Attachment(s)
Quote:
Attachment 155992 |
Quote:
I can't thank you enough Thank a lot for the the nice gift Best Regards |
All times are GMT. The time now is 04:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|