Jump to content

Two text blocks to be the same height - flexbox not working

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

div#page-5e79719043a2c54bbc968650>.row:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
}
div#page-5e79719043a2c54bbc968650>.row:nth-child(2)>.col {
    background: red;
}

image.thumb.png.e30c5d7ff9e5559a48073339574d2390.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
4 minutes ago, MaryAgnes said:

You're a legend, thank you. Now I am wondering what I should look for in my website code and what to replace in your code, to apply this to the other text blocks.

Find ID, A page usually has ID: #block--, #page--, #yui--, #collection--

Try find & replace #page

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
23 minutes ago, MaryAgnes said:

I am trying to update text blocks on the same page, so there is only one page-ID. I tried using similar code using block ID's but to no avail. Is there something else I can change?

Email Campaign copy

div#block-yui_3_17_2_1_1585611604780_145131+ .row {
    display: flex;
    flex-wrap: wrap;
}
div#block-yui_3_17_2_1_1585611604780_145131 +.row>.col {
    background: red;
}

Copywriting and editing

div#block-yui_3_17_2_1_1585611604780_138663+ .row {
    display: flex;
    flex-wrap: wrap;
}
div#block-yui_3_17_2_1_1585611604780_138663 +.row>.col {
    background: red;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.