Ottan Posted March 5 Share Posted March 5 I am trying to create a summary block where all the sections are the same height. I've gotten that to work, but on large screens, there's a ton of space at the bottom. Is there a better way to do this? I also set the code not to apply on mobile, but if you shrink a browser window down, it will wrap, which I'd prefer not to happen. Website is: https://pedl.tech/home-1 Password: PEDL @media only screen and (min-width:650px){ .summary-item{height:16vh;}} Link to comment
Ottan Posted March 8 Author Share Posted March 8 Sometimes the white background also hangs below the borders, but not always. I'm wondering if there's a better way to achieve this look generally. Link to comment
tuanphan Posted March 10 Share Posted March 10 Page Url doesn't work. Can you check it again? 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
Ottan Posted March 10 Author Share Posted March 10 (edited) Apologies, @tuanphan. I made some changes since then. It's just https://pedl.tech (no password). Edited March 10 by Ottan Broken link Link to comment
tuanphan Posted March 14 Share Posted March 14 First, remove this CSS code #block-yui_3_17_2_1_1709589146043_109093 { font-weight: 600; background: #fff; } Next, use this CSS code #block-yui_3_17_2_1_1709589146043_109093 .summary-item { background-color: #fff; font-weight: 600; } 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
Ottan Posted March 15 Author Share Posted March 15 Wonderful! Do you know if there's a way to get rid of the extra white space at the bottom on large screens? If not, I'll just deal with it. Link to comment
tuanphan Posted March 17 Share Posted March 17 On 3/15/2024 at 8:07 AM, Ottan said: Wonderful! Do you know if there's a way to get rid of the extra white space at the bottom on large screens? If not, I'll just deal with it. You can use some code like this under, to adjust it on large screen. @media screen and (min-width:2500px) { #block-yui_3_17_2_1_1709589146043_109093 .summary-item { height: 11vh !important; } } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment