This article has moved to a new home. View the updated version Tweak Library

Ad Units

Some ad units, which can contain both an image, and text. These are great for pushing important aspects of the site.


  • Fashion
  • Computers & Electronics
  • Fitness & Supplements
  • Furniture & Homewares
  • Health & Beauty
  • Alcohol
  • Music & Instruments
  • Sports & Recreation
  • Gifts
  • Toys & Games
  • Jewellery & Accessories
  • Animal & Petcare
  • Arts & Crafts
  • Events & Party Supplies
  • Books & Stationery
  • Food & Beverages


Multi-Item Add

Coding Instructions

Step 1. Create the unique advert group for the ad units

Go to Setup & Tools > All settings & tools > Click on the Web Store tab > Click on Webstore Advertising Groups, and set up a new advert group called "ad_units".

Step 2. Add the advert code for the ad units

In /httpdocs/assets/themes/your-theme-name/templates/cms/home.template.html, copy the advert code below and paste it directly below the existing text advert closing tag ([%/advert%]):

[%advert type:'text' template:'text' limit:'10' ad_group:'ad_units'%]
    [%param *header%]
        <div class="row">
    [%param *footer%]

Step 3. Shuffle elements or update styles to suit.

For example, absolutely position the text of the advert so that it sits over the image itself, rather than below it.

Final Result

Multi-Item Add

Download Files

Download Files

1 related articles found:

Was this article useful?

Be notified when this page is updated. Optional.