Tagged: x
-
AuthorPosts
-
June 27, 2016 at 1:04 am #1060925
kprzitaParticipanthello,
I’m currently using the visibility tags to load iframes based on the device type, the issue is that on the ipad the visible tag doesn’t work at it loads the desktop version and not the mobile version that I have set.
any help? running the latest versions of the plugins
As such I’m using the below:
[visibility type=”visible-desktop” id=”” class=”” style=””]
<iframe src=”http://203.206.210.183:81/bookinggateway” width=”600″ height=”700″ scrolling=”no”></iframe>
[/visibility]
[visibility type=”hidden-desktop” id=”” class=”” style=””]
<iframe src=”http://203.206.210.183:81/bookinggateway/mobile” width=”600″ height=”700″ scrolling=”yes”></iframe>
[/visibility]
June 27, 2016 at 1:06 am #1060928
kprzitaParticipantI’ll also add to this.
When I turn the ipad landscape it shows the desktop and portrait (upright), it should show mobile for both landscape and portrait
June 27, 2016 at 1:26 am #1060954
LelyModeratorHi There,
Please try to update above code to this:
[x_visibility type="visible-desktop" id="" class="" style="border:thin solid blue;"] <iframe src="http://203.206.210.183:81/bookinggateway" width="600" height="700" scrolling="no"></iframe> [/x_visibility] [x_visibility type="visible-tablet" id="" class="" style="border:thin solid green;"] <iframe src="http://203.206.210.183:81/bookinggateway/mobile" width="600" height="700" scrolling="yes"></iframe> [/x_visibility] [x_visibility type="visible-phone" id="" class="" style="border:thin solid red;"] <iframe src="http://203.206.210.183:81/bookinggateway/mobile" width="600" height="700" scrolling="yes"></iframe> [/x_visibility]Hope this helps.
June 27, 2016 at 4:02 am #1061146
kprzitaParticipantHi,
No it isn’t working on the iPad in landscape it is showing the blue border aka desktop when I change to portrait on the ipad it changes to the green border aka mobile.
Mind having a look on my site?
June 27, 2016 at 4:07 am #1061151
ChristopherModeratorHi there,
Is this the site in question ?
Please provide us with URL of page where we added visibility shortcodes.
Thanks.
June 27, 2016 at 4:14 am #1061161
kprzitaParticipantI have used the following codes as I want the mobile and tablet to use the same page.
[x_visibility type=”visible-desktop” id=”” class=”” style=”border:thin solid blue;”]
<iframe src=”http://203.206.210.183:81/bookinggateway” width=”600″ height=”700″ scrolling=”no”></iframe>
[/x_visibility]
[x_visibility type=”hidden-desktop” id=”” class=”” style=”border:thin solid green;”]
<iframe src=”http://203.206.210.183:81/bookinggateway/mobile” width=”600″ height=”700″ scrolling=”yes”></iframe>
[/x_visibility]
June 27, 2016 at 4:17 am #1061164
kprzitaParticipantThis reply has been marked as private.June 27, 2016 at 4:24 am #1061171
ChristopherModeratorHi there,
It requires email as user name.
Thanks.
June 27, 2016 at 4:29 am #1061178
kprzitaParticipantThis reply has been marked as private.June 27, 2016 at 4:32 am #1061181
kprzitaParticipantThis reply has been marked as private.June 27, 2016 at 4:34 am #1061184
kprzitaParticipantThis issue is only occuring on the ipad when you goto landscape otherwise as portrait it works…
June 27, 2016 at 4:44 am #1061192
ChristopherModeratorHi there,
Please add following code in Customize -> Custom -> CSS :
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { .x-visible-desktop { display: none !important; } x-hidden-desktop { display: inherit !important; } }Hope that helps.
June 27, 2016 at 4:50 am #1061198
kprzitaParticipantChris,
This isn’t working.
On the iPad in landscape it is showing the desktop version I have used the border colors to identify if it is working or not and it is not.
I went to edit page > customise > custom > css
added your code and it still does the same
iPad: Landscape – shows desktop, portrait – shows mobile.
I want the landscape and portrait of the ipad to show both mobile.
June 27, 2016 at 5:16 am #1061233
ChristopherModeratorHi there,
Please clear cache on your site and your device, then check the page again.
Thanks.
June 27, 2016 at 5:26 am #1061244
kprzitaParticipantI have done this and now the ipad in landscape is not showing the login system but only when I tilt it to portrait it shows the mobile..
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1060925 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
