Added Advertisement Label on top of Ad
This commit is contained in:
parent
e0b3e64962
commit
292951e302
|
@ -1,4 +1,5 @@
|
|||
{{#if checkTrustLevels}}
|
||||
<div class="amazon-product-links-label"><h2>ADVERTISEMENT</h2></div>
|
||||
{{#if site.mobileView}}
|
||||
<iframe style={{adWrapperStyleMobile}} marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src={{userInput}}>
|
||||
</iframe>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{{#if checkTrustLevels}}
|
||||
<div class="google-adsense-label"><h2>ADVERTISEMENT</h2></div>
|
||||
{{#if site.mobileView}}
|
||||
<div style={{adWrapperStyleMobile}}>
|
||||
<ins class="adsbygoogle"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{{#if checkTrustLevels}}
|
||||
{{#if loadedGoogletag}}
|
||||
<div class="google-dfp-ad-label"><h2>ADVERTISEMENT</h2></div>
|
||||
{{#if site.mobileView}}
|
||||
<div id={{divId}} style={{adWrapperStyleMobile}} class="dfp-ad-unit" align=center>
|
||||
<script type='text/javascript'>
|
||||
|
|
42
plugin.rb
42
plugin.rb
|
@ -35,4 +35,46 @@ register_css <<CSS
|
|||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.amazon-product-links .amazon-product-links-label {
|
||||
width: 728px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.amazon-product-links .amazon-product-links-label h2 {
|
||||
margin: 4px 0 !important;
|
||||
color: #858a8c;
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.google-adsense .google-adsense-label {
|
||||
width: 728px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.google-adsense .google-adsense-label h2 {
|
||||
margin: 4px 0 !important;
|
||||
color: #858a8c;
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.google-dfp-ad .google-dfp-ad-label {
|
||||
width: 728px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.google-dfp-ad .google-dfp-ad-label h2 {
|
||||
margin: 4px 0 !important;
|
||||
color: #858a8c;
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
CSS
|
Loading…
Reference in New Issue