18th September 2021

Adding Fixed Ad Space to the Right and Left of Your Website

You can use the following codes to show the ads you use between your website pages and your articles on the left or right side of the site. You need to paste your preferred ad code where it says “Ad Code“. The most suitable ad size for Google Adsense is 160600 and 120600. Also, if you want to leave a certain space from the top, left or right sides of the page, you can arrange the fields that say “left, right and top 0px,” according to your own. To add an ad space on the left side of your website, you can place the following codes in the area right after the part of your site or by using the “ad inserter” plugin.

Adding Fixed Ad Space to the Right and Left of Your Website
Adding Fixed Ad Space to the Right and Left of Your Website

 

Adding a Fixed Ad Space to the Left of the Page

You can use the code below to Add a Fixed Ad Space to the Left of the Page.

Example ad code using the “Ad inserter” plugin is as follows.

Adding a Fixed Ad Space to the Left of the Page
Adding a Fixed Ad Space to the Left of the Page

 

Adding a Fixed Ad Space to the Right of the Page

You can use the code below to Add a Fixed Ad Space to the Right of the Page.

Example ad code using the “Ad inserter” plugin is as follows.

LEARN MORE  What is Netsparker? Netsparker Vulnerability Severity - Netsparker Installation
Adding a Fixed Ad Space to the Right of the Page
Adding a Fixed Ad Space to the Right of the Page

 

Note: If you want the ads to be placed behind the images on your site or if the ads take up the whole screen in the mobile version of your site, you can show the ads in the background by setting the z-index: 1 field in the above codes as z-index: -1.

 

Leave a Reply

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