-
AuthorPosts
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 17, 2016 at 3:15 am #884874Hi Giuliano,
Did you try to switch default template to a standard template of Joomla (beez, protostar) and check this ADS in above article again?
And let me know how it goes.
giuliano m Friendgiuliano m
- Join date:
- August 2008
- Posts:
- 117
- Downloads:
- 29
- Uploads:
- 33
- Thanks:
- 91
- Thanked:
- 14 times in 4 posts
February 18, 2016 at 7:27 pm #886386Hi Saguaros ^^ and thx good advice but it works with protostar
tonight I try to disable all plugins and component, only Teline template.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 23, 2016 at 2:13 am #888865I see the ads looks fine at my end: http://prntscr.com/a6s2xa
Is it OK now?
giuliano m Friendgiuliano m
- Join date:
- August 2008
- Posts:
- 117
- Downloads:
- 29
- Uploads:
- 33
- Thanks:
- 91
- Thanked:
- 14 times in 4 posts
February 24, 2016 at 11:18 pm #889983no, the banner should be 300x250px if you resize the desktop window you see that the banner is cut in half
mobile http://prntscr.com/a7jxla desktop http://prntscr.com/a7jy2z
please help me is very important
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 26, 2016 at 1:16 am #890643Please check in real device, resizing browser is not a proper way to test the responsive layout.
giuliano m Friendgiuliano m
- Join date:
- August 2008
- Posts:
- 117
- Downloads:
- 29
- Uploads:
- 33
- Thanks:
- 91
- Thanked:
- 14 times in 4 posts
February 26, 2016 at 7:07 pm #891013aris Friendaris
- Join date:
- April 2014
- Posts:
- 106
- Downloads:
- 27
- Uploads:
- 9
- Thanks:
- 83
- Thanked:
- 8 times in 1 posts
February 29, 2016 at 6:34 am #892133and so my website. same problem
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 29, 2016 at 7:36 am #892155May I know how you guys add the Google Ads into your sites? You can clarify step by step and post the script you used here so I will try to replicate at my end. At this moment, the style is loaded from google itself.
giuliano m Friendgiuliano m
- Join date:
- August 2008
- Posts:
- 117
- Downloads:
- 29
- Uploads:
- 33
- Thanks:
- 91
- Thanked:
- 14 times in 4 posts
February 29, 2016 at 10:07 am #892252Hi,
I use the plugin Ads Elite, this inserts the script adsense directly ( it uses Paragraph delimiters are <.p>)However I have also tried inserting the google script directly but I have the same problem.
important the banner is cut only when it is included in the article, if I put the banner in a different position(forexample in the comments) the banner is working properly.
aris Friendaris
- Join date:
- April 2014
- Posts:
- 106
- Downloads:
- 27
- Uploads:
- 9
- Thanks:
- 83
- Thanked:
- 8 times in 1 posts
February 29, 2016 at 10:15 am #892266here is mine.. `(image attached)
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-1985477490972945"
data-ad-slot="6769983490"
data-ad-format="auto">
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>`
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 1, 2016 at 8:44 am #892801Could you check script again? it seems to be not correct and where you insert this script?
giuliano m Friendgiuliano m
- Join date:
- August 2008
- Posts:
- 117
- Downloads:
- 29
- Uploads:
- 33
- Thanks:
- 91
- Thanked:
- 14 times in 4 posts
March 1, 2016 at 12:39 pm #892906the code is inserted into the text of the article.
ex.
<p>Nella tarda serata di ieri,......senza alcun motivo, contro uno ..........</p> <p> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:inline-block;width:336px;height:280px" data-ad-client="ca-pub-6364xxxxxxxx" data-ad-slot="8625422659"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <br />Bloccato grazie all’intervento del secondo militare è stato tratto in arresto e trattenuto, .......</p>
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
March 1, 2016 at 3:00 pm #892943Just to make your day, my 300×250 html5 banner gets cut in half too on phone.. This is placed via Banner component and Banner module in usual way but a custom, not image in Banner component, actually a Wrapper module then placed in article with a Modules Anywhere link to Banner module. Complicated but works on desktop view. See A copy of the ad in position footer 3 does not get cropped at bottom.
The 728 wide banner in the footer just gets cropped on right as you might expect. Probably I should hide this position in small screen view.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
March 1, 2016 at 3:55 pm #892976Hi @giuliano m
Try my solution below to fix this problem .
Add below code in custom.css file@media (max-width: 768px) { .article-content iframe { height: 100%!important; }}
Add code at the start of custom.css file . Save file clean cache and check .
Hope it helps .2 users say Thank You to Pankaj Sharma for this useful post
giuliano m Friendgiuliano m
- Join date:
- August 2008
- Posts:
- 117
- Downloads:
- 29
- Uploads:
- 33
- Thanks:
- 91
- Thanked:
- 14 times in 4 posts
March 1, 2016 at 5:36 pm #893024Hi Pankaj Sharma and
thanks for the help, but I’ve tried it, (I deleted the cache;)) Unfortunately, it is always cut.AuthorPostsThis topic contains 21 replies, has 6 voices, and was last updated by redcrecer6971 8 years, 7 months ago.
The topic ‘adsense banner is cut in half with mobile layout’ is closed to new replies.
Jump to forum