Back to top

Affiliate Link: Interested In a Useful Tables For Amazon Products and More? Check Out:

Amalinks Pro

Mediavine Ads And The Acabado Sidebar Size

Featured Tiles
As an Amazon Associate we earn from qualifying purchases made on our website. If you make a purchase through links from this website, we may get a small share of the sale from Amazon and other similar affiliate programs. You can read our complete legal information for more details.

The ad vendor Mediavine has had complaints around the sidebar not meeting their size criteria to server all ads and that some could fall off screen.

They provided a set of custom CSS that would resolve this issue on the site for anyone who is running their ads on the site.

If you don’t have experience with custom CSS then read the introduction to its use in Acabado here.

This code will basically help ensure the width stays consistent for them to provide and serve ads to your visitors that stay within their guidelines.

Once these are added you won’t see a large visible change on your website but you will now be compliant with Mediavine!

/Mediavine Sidebar fix/
@media only screen and (min-width: 960px) {
#main {
max-width: calc(100% - 400px);
}
.home #primary {
max-width: 100% !important;
}
.home #main{
max-width: calc(100% - 400px);
}
#secondary {
min-width: 342px;
}
}

@media only screen and (min-width: 960px) and (max-width:1181px){
.category .site-main{
width:unset !important;
padding-right:10px !Important
}
}

@media only screen and (max-width: 359px) {
.site-content{
padding:10px !Important;
}
}

Thanks to Lairc for providing as many will find this helpful for Mediavine.

About Josh Koop

Hey Everyone! I hope that the short article you read today has taken you from a place of frustration to a place of excited anticipation for your visitors! Please let me know of anything you need for Acabado that can help you achieve your goals! Read More About Me...

My Posts | Website

Josh Koop

Hey Everyone! I hope that the short article you read today has taken you from a place of frustration to a place of excited anticipation for your visitors! Please let me know of anything you need for Acabado that can help you achieve your goals! Read More About Me...

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Content