NicPi Posted April 4 Share Posted April 4 I've embedded a document using Google Doc (File--Publish to the Web--link). It looks ok on desktop but too large on mobile. Does anyone know how to adjust/zoom out when displayed on mobile? Thank you https://www.okipic.com/test-google-docs-embedding Link to comment
tuanphan Posted April 7 Share Posted April 7 Try adding to Design > Custom CSS @media scree and (max-width:767px) { iframe[src*="embedly.com"] { width: 100% !important; height: 900px !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
NicPi Posted April 18 Author Share Posted April 18 Thank you but unfortunately it is not working. Link to comment
tuanphan Posted April 22 Share Posted April 22 On 4/19/2023 at 1:22 AM, NicPi said: Thank you but unfortunately it is not working. ah, I have a typo in the code, use this new code @media screen and (max-width:767px) { iframe[src*="embedly"] { width: 100% !important; height: 900px !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
NicPi Posted April 23 Author Share Posted April 23 Thanks tuanphan. It still looks awkward to be honest. Also, the embedded file now overwrites the "style shape" at the bottom of the page. I made an attempt reducing the height's pixels and this helped somewhat, but the content remains difficult to view on mobile devices. To provide more context, the text and pictures in the document are aligned with right and left margins on desktop, but on mobile devices, the text becomes narrower while the title (which has a larger font size) and pictures retain their size, requiring users to scroll left and right to see the content. Although I tried applying the CSS to the document, this issue persisted. As a temporary solution, I used CSS to hide the file on mobile devices, but I realize that this is not an optimal solution. Thank you again for your help. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment