Tagged: x
-
AuthorPosts
-
December 19, 2016 at 4:17 pm #1298701
Karl KParticipantI am trying to hide two modals on mobile devices and tablets without success. I checked the boxes on each modal to hide on everything but a desktop, but that doesn’t seem to be working.
The website is guysdrinkingbeer.com. Here is an example post: http://www.guysdrinkingbeer.com/breaking-odell-brewing-entering-illinois-in-february. A book pre-order modal at the top of the post and a shop page modal about halfway down shouldn’t be showing, but are. The first modal is showing inline while the second is showing via shortcode.
Any help would be greatly appreciated.
Karl
December 19, 2016 at 11:29 pm #1299040
LelyModeratorHello Karl,
I can see the issue when I visit the post on mobile. Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
December 20, 2016 at 9:13 am #1299427
Karl KParticipantThis reply has been marked as private.December 20, 2016 at 11:09 am #1299553
JoaoModeratorHi,
To hide the modal displayed via shortcode, please hide the row where it is placed in Cornerstone using Cornerstone Hidden Visibility options.
To hide all modals from the page on tablet and mobile please add the following code to Cornerstone > Settings > Custom > CSS
@media(max-width: 769px) { .cp-modal-popup-container { display: none; } }Hope it helps,
Joao
December 20, 2016 at 11:50 am #1299587
Karl KParticipantThat did the trick, thanks!
December 20, 2016 at 12:22 pm #1299620
JoaoModeratorGlad to hear it,
Joao
January 14, 2017 at 5:38 pm #1330221
pgvaneParticipantHi
While this solution works it also breaks any button on the page that has custom css to trigger the modal.
Is there any solution to that problem?
Peter
January 15, 2017 at 12:59 am #1330539
ChristopherModeratorHi there,
Please open a new thread and provide us with URL.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1298701 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
