Jump to content

Placing image and text side by side on mobile

Go to solution Solved by HoaLT,

Recommended Posts

Hey all,

Does anyone know how to place an image and text side by side? It's for this page. Initially the image was too large but I was able to decrease it. But now, the image is in center and the text below it is on the left. I'd like them to be next to each other.

 

Thanks!

image_123650291.JPG

Link to comment
  • Replies 2
  • Views 530
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Solution

My first try

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1720756138205_21855 + div .span-5 {
    width: 41.6667% !important; 
    float: left !important;
  }

  #block-yui_3_17_2_1_1720756138205_21855 + div .span-7 {
    width: 58.3333% !important;
    float: left !important;
  }

  #block-yui_3_17_2_1_1720756138205_21855 + div .span-7 .span-1{
    width: 14.2857% !important;
    float: left !important;
  }
  #block-yui_3_17_2_1_1720756138205_21855 + div .span-7 .span-5{
    width: 71.4286% !important;
    float: left !important;
  }
}

My demo

image.thumb.png.8aa4d4bae3353eadf8fcdefeab1f90bd.png

Press 👍  or mark my comment as solution if you find my sharing useful

🆒 Squarespace pinchzoom lightbox plugin (affiliate link)

👁‍🗨 360 degree photo viewer (affiliate link)

Link to comment

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.