Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix ads

  • Loading branch information...
commit 1bad2aa6217bbac2c6abe5909c251c9a8a8548e6 1 parent 7feac21
@jodyalbritton authored
Showing with 11 additions and 23 deletions.
  1. +10 −13 app/views/layouts/application.html.erb
  2. +1 −10 app/views/pages/home.html.erb
View
23 app/views/layouts/application.html.erb
@@ -116,10 +116,16 @@
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
<figure class="header-adv">
<!-- top_banner -->
- <ins class="adsbygoogle"
- style="display:inline-block;width:728px;height:90px"
- data-ad-client="ca-pub-1330310830055293"
- data-ad-slot="1848089765"></ins>
+ <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
+ <!-- Responsive -->
+ <ins class="adsbygoogle"
+ style="display:block"
+ data-ad-client="ca-pub-1330310830055293"
+ data-ad-slot="5999087760"
+ data-ad-format="auto"></ins>
+ <script>
+ (adsbygoogle = window.adsbygoogle || []).push({});
+ </script>
</figure>
</div>
@@ -374,15 +380,6 @@
</div>
-
-<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
-
-
-
-<script>
-(adsbygoogle = window.adsbygoogle || []).push({});
-</script>
-
View
11 app/views/pages/home.html.erb
@@ -54,10 +54,7 @@
<!-- Advertisement start -->
<div class="widget">
<!-- Side Bar -->
- <ins class="adsbygoogle"
- style="display:inline-block;width:300px;height:250px"
- data-ad-client="ca-pub-1330310830055293"
- data-ad-slot="7755022568"></ins>
+
</div>
@@ -332,12 +329,6 @@
<!-- Advertisement start -->
<div class="widget">
- <!-- side_bar_2 -->
- <ins class="adsbygoogle"
- style="display:inline-block;width:300px;height:250px"
- data-ad-client="ca-pub-1330310830055293"
- data-ad-slot="9231755768"></ins>
-
</div>
<div class="clearfix"></div>
<!-- Advertisement End -->
Please sign in to comment.
Something went wrong with that request. Please try again.