Jump to content

Bottom align text, image & button blocks to a section

Recommended Posts

Site URL: https://crane-rust-jc3g.squarespace.com/experience

Hi there,

I need the text and buttons to bottom align exactly with the bottom of the image. Is there a way to make all elements stay aligned with the bottom of the page when the screen size is different too?

image.png.c7008358d4a6cfa94efbb9e72035a9f6.png

I have tried adjusting the margins so they sit flush on one line but the elements move around when the screen size is repositioned.

I have also tried using CSS to align the elememts to the bottom of the section but I just can't seem to get it right, are you able to help me please?

Password: Blairgowri3

Thanks 🙂

Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Try adding to Design > Custom CSS

@media screen and (min-width:768px) {
div#page-section-62a4278ec618dd391e8bd7bc>.row {
    display: flex;
}
div#page-section-62a4278ec618dd391e8bd7bc .span-6 {
    position: relative;
}
div#page-section-62a4278ec618dd391e8bd7bc .span-6 .span-5 .row {
    position: absolute;
    bottom: 0;
}
}

 

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!)

Link to comment
On 6/26/2022 at 5:16 PM, lauraharbottcreative said:

Oh thanks, I appreciate your help! Just one more thing, the text is still floating at the top, it needs to be above the buttons down the bottom, is this possible? The buttons also seem to be sitting above the edge of the image line and not flush. As well, the 'book now' button is accross 2 lines.

image.thumb.png.c32dd28311dedf03dfdb6da841820cfb.png

You mean

  • Align text to top, buttons to bottom
  • OR
  • Align text + buttons to bottom, with text above buttons?

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!)

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.