Added Advertisement Label on top of Ad

This commit is contained in:
Sarah Ni 2015-09-30 10:48:26 +10:00
parent e0b3e64962
commit 292951e302
4 changed files with 45 additions and 0 deletions

View File

@ -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>

View File

@ -1,4 +1,5 @@
{{#if checkTrustLevels}}
<div class="google-adsense-label"><h2>ADVERTISEMENT</h2></div>
{{#if site.mobileView}}
<div style={{adWrapperStyleMobile}}>
<ins class="adsbygoogle"

View File

@ -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'>

View File

@ -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