Bluemonque Posted February 14 Share Posted February 14 I'm working on this website:https://grapefruit-tulip-n4ba.squarespace.com Password: gentes I've already added some code to redesign some parts of the website. (see the code below the text) I'm struggling with one part of the homepage. I want the alignment of the blog summary block 'Vacatures' white frame the same way as the page 'vacatures'. (See also attached image) Can somebody help me out with the right code for this? - - - .blog-basic-grid--container { background-color: #fbf7f2; padding-top: 30px; padding-bottom: 40px; padding-left: 30px; padding-right: 30px; border-radius:5px;} .sqs-gallery-design-carousel-slide .summary-content { } .sqs-gallery-design-carousel-slide .summary-content { background-color: #ffffff; padding-top: 30px; padding-bottom: 40px; padding-left: 30px; padding-right: 30px; border-radius:5px;} .sqs-block-html .sqs-block-content ul { margin-top: -10px } .sqs-block-html .sqs-block-content ul li:before { top: 25px; } .sqs-block-html .sqs-block-content ul li p { margin: -1px } Link to comment
tuanphan Posted February 16 Share Posted February 16 Hi, You mean make 3 boxes same height? 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
Bluemonque Posted February 16 Author Share Posted February 16 Yes, indeed. On the blog page 'vacatures' this is already the case. When the excerpt text is a bit shorter on 1 blog, the height is the same for the total row or the other 2 blogs on the side. On the homepage / summary block this is not the case. With a shorter excerpt, the white frame / background has a different height. Hope you can help me out! Link to comment
tuanphan Posted February 21 Share Posted February 21 On 2/16/2023 at 5:01 PM, Bluemonque said: Yes, indeed. On the blog page 'vacatures' this is already the case. When the excerpt text is a bit shorter on 1 blog, the height is the same for the total row or the other 2 blogs on the side. On the homepage / summary block this is not the case. With a shorter excerpt, the white frame / background has a different height. Hope you can help me out! Add to Design > Custom CSS @media screen and (min-width:768px) { div#block-yui_3_17_2_1_1675711346088_3602 .summary-item-list { display: flex; } div#block-yui_3_17_2_1_1675711346088_3602 .summary-item { flex: 1; background-color: white; margin-left: 10px; margin-right: 10px; } } 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
Bluemonque Posted February 27 Author Share Posted February 27 Hi @tuanphan, this code you've send over worked perfect. I have the same block on the 'over Gentes' page. But because this code is only for the section on the homepage it's not working on the section on the 'over gentes' page. I tried to copy the code and to find the id of the blocks. But I think I've placed maybe the wrong one ;-)) Can you advise me? (Did I used the wrong code of the block ID?) I've used this one: @media screen and (min-width:768px) { div#block-yui_3_17_2_1_1677523591472_633 .summary-item-list { display: flex; } div#block-yui_3_17_2_1_1677523591472_645 .summary-item { flex: 1; background-color: white; margin-left: 10px; margin-right: 10px; border-radius:5px; } } Many thanks! Link to comment
tuanphan Posted March 5 Share Posted March 5 I see you figured it out? 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
Bluemonque Posted April 4 Author Share Posted April 4 Yes, thanks! I tried a few things with the code and did find the solution. Many thanks! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment