Membuat Paralax Ads diTemplate JetTheme

Untuk membuat paralax adsense pada template jettheme sangat mudah, cukup letakan code di bawah ini dan masukan iklan unit kamu kedalam code yang telah di warnai

<div class="full-width ratio ratio-1x1 ratio-sm-16x9">
  <div style="clip:rect(auto,auto,auto,auto)">
    <div class="position-relative" style="width:728px;max-width:100%">
      <div class="position-fixed d-flex justify-content-center align-items-center top-0 bottom-0" style="width:inherit;max-width:inherit">
        <div style="max-width:inherit">
          
          <!-- Code Ads Here -->
          
        </div>
      </div>
    </div>
  </div>
</div>

Berikut contohnya

<div class="full-width ratio ratio-1x1 ratio-sm-16x9">
  <div style="clip:rect(auto,auto,auto,auto)">
    <div class="position-relative" style="width:728px;max-width:100%">
      <div class="position-fixed d-flex justify-content-center align-items-center top-0 bottom-0" style="width:inherit;max-width:inherit">
        <div style="max-width:inherit">
        
          <ins class="adsbygoogle" style="display:block;max-width:inherit;width:728px"
            data-ad-client="ca-pub-2987193314595386"
            data-ad-slot="1766485345"
            data-ad-format="auto"
            data-full-width-responsive="true"></ins>
          <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
          </script>
          
        </div>
      </div>
    </div>
  </div>
</div>

Lalu pada bagian style adsense ubah seperti yang di warnai, dan save

Previous Post
No Comment
Add Comment
comment url