Jump to content

Text beside image on mobile view

Recommended Posts

  • Replies 2
  • Views 401
  • Created
  • Last Reply
18 minutes ago, Thobias said:

Site URL: https://clementine-indigo-9c9c.squarespace.com

Hi, 

I want to put text beside the image on mobile view but can't seem to solve it. Have been looking for solutions with CSS but nothing have worked so far. Any suggestions? 

This is how it looks now: 

847111529_Skarmavbild2021-04-12kl_11_36_06.thumb.png.62b3e3032233f4a50365476fe382a2f0.png


I want it to look like this: 

735603280_exempelmobil.thumb.png.54b4f4a2d3466f4326762483c9908cb7.png

 

Adress: https://clementine-indigo-9c9c.squarespace.com/

Pass: kringla 

try


@media only screen and (min-width: 768px) and (max-width: 992px) {
    #block-yui_3_17_2_1_1617821805347_8516 ~ .row .sqs-block-image {
      width: 100%;
    }
}

@media only screen and (max-width: 768px){
    #block-yui_3_17_2_1_1617821805347_8516 ~ .row .col:first-child {
      width: 40% !important;
      float: left !important;
    }
}

image.thumb.png.b6779b8944504f6ad279ff3d50b4f69e.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
3 hours ago, bangank36 said:

try



@media only screen and (min-width: 768px) and (max-width: 992px) {
    #block-yui_3_17_2_1_1617821805347_8516 ~ .row .sqs-block-image {
      width: 100%;
    }
}

@media only screen and (max-width: 768px){
    #block-yui_3_17_2_1_1617821805347_8516 ~ .row .col:first-child {
      width: 40% !important;
      float: left !important;
    }
}

image.thumb.png.b6779b8944504f6ad279ff3d50b4f69e.png

It worked! Thank you!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.