Hi.
I have this site where I insert some HTML5 banners made in Bannersnack.
http://beta.dragoernyheder.dk/ruslan-test/
It works fine when running in desktop mode, but when I scale the page down the topbanner is not scalling but the banner inside the page scales fine. It is 100% the same code usen on topbanner and in the post.
When I run in mobile mode the topbanner is total gone.
I use the “Ads”-“Header AD” to insert the code.
Hi,
Please try this custom css
.td-header-wrap .td-header-rec-wrap {
display: block;
}
-> https://www.screencast.com/t/tcywKjhbe
Set the code in Newspaper theme panel>Custom code>Custom css
Hope this will help you!
Thanks.
Hi,
You are using an old version of Newspaper v8.6 with WordPress 5.1.1 and those are not full compatible -> https://www.screencast.com/t/GzmTY6Kk -> https://themeforest.net/item/newspaper/5489609?s_rank=1
Thank you!
Hi Calin (or other)
I thought that the problem was now solved but I can see that it sometimes happens.
On front page – Everything ok
On a page – Everything ok
On a post – OK, in desktop mode, but fails in mobile mode.
If you look at : http://dragoernyheder.dk/2019/04/26/usaedvanlig-varme-kan-give-os-aarets-foerste-sommerdag/ and try to refresh the page the header suddenly disappears.
Can you perform you magic again. I have tried to debug the CSS and from my chair it looks okay.
I have tried to update a copy of the site to latest wordpress and newspaper version and the problem is still the same.
you can see it here :
http://beta.dragoernyheder.dk/2019/04/26/usaedvanlig-varme-kan-give-os-aarets-foerste-sommerdag/
If you refresh the page on a mobile phone the top ad suddenly dissapears. This only happens when looking at post. Pages works fine.
Ps. Some pictures are missing in this copy.
-
This reply was modified 7 years by
dragoerny.
Hi,
I do not see the problem -> https://www.screencast.com/t/JvMrc63L5d , please provide me a screenshot, in this way I will be able to provide you the right code!
Thank you!