Jump to content

Force Image and Text to be Inline on Mobile in Landscape Mode

Recommended Posts

Posted (edited)

On my. homepage, there are two sections with Text boxes and an Image. I have them laid out to have the Images beside the text. This looks fine in a desktop browser. On mobile in portrait mode, the text is displayed above the image, which is also fine. But, in mobile landscape mode, I would like the images to be beside the text like on the desktop. Can someone please help. I've tried several approaches unsuccessfully.

The homepage URL is https://brass-endive-883l.squarespace.com/

Thanks.

Edited by kdeemer
add URL
  • Replies 3
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

@tuanphan 

Thanks for the reply. I did not solve it. It looks fine in the simulator but the text and image remain stacked vertically on an actual iPhone. I have tried different phones and it is the same. And now, I've modified the code so many times that I don't know what it was when you looked.

Posted

Try adding to Website Tools (under Not Linked) > Custom CSS

@media screen and (max-width: 900px) and (orientation: landscape) {
#block-yui_3_17_2_1_1701389468272_38802, 
#block-yui_3_17_2_1_1701389468272_40971 {
    width: 100% !important;
}}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.