Hi,
New your assistance.
I put below provided div from Ogulo ( preview of a 360 degree tour ) in a text-block.
The tour is centered on desktop devices but e.g. not on Samsung Galaxy S7 edge Portrait modus.
On landscape this is fine and centered !
Any idea?
Thanks.
Claudia
Hey Marco,
I am not seeing the issue unfortunately, however, since you seem to be aware of how media queries in css work then you could target the problem areas class and position it specifically for mobile.
Best regards,
Jordan Shannon
Sorry, but appreciate that the support coud help as I have no idea how to solve.
Looking foward to hear from you.
Thanks
CLAUDIA
Hi CLAUDIA,
Please disable caching and minification while we’re helping you.
Best regards,
Victoria
Victoria,
Done. Let me know as soon as we can activate again.
Thanks.
Claudia
Hi Claudia,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 767px) {
.ogulo iframe {
width: 90vw !important;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria,
Your quick CSS was not working and had no effect.
I placed the tour iframe in a code block instead.
And also needed to amend the quick CSS for that as below ( max-width & add position ) so that tour is shown correctly on mobile portrait views:
@media only screen and (max-width: 480px) {
.ogulo iframe {
width: 97vw !important;
position:absolute;left: -0%;
}
}
Best regards
Claudia
Hi Claudia,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria