New extension - Google AdSense

Talk about all extensions including themes.

New extension - Google AdSense

Postby smiffy6969 » Mon Apr 28, 2014 11:13 pm

Hiya,

Added a new extension, simple one, it allows you to add google ads.

SImply register for an adsense account, once you have this, create some adds, grab the add code (asynchronous) and copy the <ins></ins> element into the input box when adding the extension onto the page.

Once you have done this, it will embed the google add into the area.

In order to control it a little better too, there is a parent div element around this, allowing you to style the parent container. You can add classes to do this.

Use any bootstrap classes you like seperated by a space

text-center
text-left
text-right

they will center the add. And you can use the following

mobile-show-block
mobile-hide-block

to show or hide for mobile. So the class may look like this

text-center mobile-hide-block

to show a large add to non mobile devices in the center of your content column.

ta

smiffy
smiffy6969
 
Posts: 1866
Joined: Sat May 24, 2008 8:18 am
Location: Loughborough, UK

Return to Extensions

Who is online

Users browsing this forum: No registered users and 1 guest

cron