Jump to content

Responsive design

Recommended Posts

Posted

Hi! 

Does anyone know how to make two elements which are related respond in the same way screen size changes? 

In the images you'll see the card with text has changed shape an no longer lines up with the image. 

Also, is it possible to group this items so they respond in the same way across multiple breakpoints?

Thanks in advance!

Sam

Screenshot 2023-06-14 at 14.41.29.png

Screenshot 2023-06-14 at 14.41.17.png

  • Replies 6
  • Views 359
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Hi, yes, ideal I'd love for the edge of the image to line up with the edge of the card at smaller breakpoints. 

Is there a way to do that?

Posted
On 6/20/2023 at 2:56 PM, spantchux said:

Hi, yes, ideal I'd love for the edge of the image to line up with the edge of the card at smaller breakpoints. 

Is there a way to do that?

Add to Design > Custom CSS

.fe-6489bea097fbce00e7bc7cd0 .sqs-image {
    -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
            justify-content: flex-end !important;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}

 

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.