display:bloack not added to banner on small screens?
-
Hi,
I have a really strange issue with your plugin. Firstly default banner wasn’t showing at all but I solved it by enabling custom banner. And custom banner only shows on larger screens. If I preview it in chrome emulator on anything less than imac mini the banner is not showing. Looking at your config you have display:none added to banner css by default and then your code either adds or not display: block to the actual element on page load. Why is it NOT adding it on smaller screens where it is in fact MOST needed. Can you please advise and/or troubleshoot.
https://dev.hotspotsvanuatu.com/
To replicate the issue just look at the site in desktop, then turn on inspect element in chrome and enable emulator and reload in any of the mobile views and observe element style of div id “pwaforwp-add-to-home-click”. Has display: block on large screen and does not have it on small screen.
I experimented with checking and unchecking “display on desktop” in the settings of custom popup feature but it didn’t make a difference.The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.