Jump to content

Align buttons in columns

Recommended Posts

Site URL: https://www.bohosocial.com.au/

No matter what I try I cannot get the buttons to so sit inline with each other on my homepage due to the text being different lengths. I have tried all the suggested code I can find on forums but nothing seems to work 😞 I haven'tencounteredd it looking so bad before.

I have followed this tutorial as well with no luck https://donnavincentdesigns.com/blog/align-uneven-squarespace-buttons

Not wanting to use line breaks and spacers. 

Thanks in advance!

Screen Shot 2022-03-20 at 9.42.17 am.png

Link to comment
  • Replies 1
  • Views 211
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Solved with the code

@media screen and (min-width: 901px) {
    div#page-5cf717904830f600018f2446 .row:nth-child(n+2) {
        display:flex
    }

    div#page-5cf717904830f600018f2446 .row:nth-child(n+2) .span-4 {
        flex: 1;
        position: relative;
        padding-bottom: 100px
    }

    div#page-5cf717904830f600018f2446 .button-block {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 100%;
        transform: translatex(-50%)
    }
}

 

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.