View Single Post
Old 11 Mar 2017, 15:32
bzcomputers's Avatar
bzcomputers bzcomputers is offline
Join Date: Apr 2012
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.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can add this code to additional.css template. Then confirm it is working like desired by manually adjusting your screen width.

Last edited by bzcomputers; 11 Mar 2017 at 15:37.
Reply With Quote