1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adsense below media

Discussion in 'Media Gallery Support' started by Bombardier, Nov 6, 2015.

  1. Bombardier

    Bombardier Active Member

    Can anybody please tell me how to place my adsense code so the adds show just below a media item?
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    The template is xengallery_media_view

    There you should see a div with the class name "mediaMeta". Put the ads directly below that.
     
  3. Chris D

    Chris D XenForo Developer Staff Member

    @Bombardier there's no reason why you shouldn't be able to reply here.

    A more specific way of doing as I said would be to find this line of code in the xengallery_media_view template:
    Code:
    <ul class="tabs Tabs mediaTabs" data-panes="#MediaPanes > li" data-history="on">
    And directly above it add your adsense code.
     
    viper357 likes this.

Share This Page