Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 73026

Disable margin top for certain resolutions

$
0
0

Replies: 0

Hi,

Always been a fan of this plugin, will definitely send you a buck whenever I finally start making any money back out of my sites.

I was wondering if there is a way to disable margin-top at certain resolutions such as at laptop resolution of 1366×768. I currently use a 140px margin top for an adsense placement that looks fine at 1080p, but when going down to laptop res, it appears at the bottom of the frame and I don’t want to disable the entire plugin at this resolution as the advert is still out of frame at the top of the screen when I scroll down to the main content on the site. I do have a temporary fix of placing the widget manually by the main content, but I’m still missing out on being able to scroll through the entire page with a fixed widget which at 768p, the 700px adsense normally fills out the side of the screen perfectly. A css solution is preferable, I’ve tried messing around myself but no luck, hopefully someone can point me in the right direction.

Regards, Sam


Viewing all articles
Browse latest Browse all 73026

Trending Articles