kayleigh Posted August 9, 2021 Posted August 9, 2021 Site URL: https://deliamonk.com/services Hi! To create pricing tables I've used image stack blocks with some code to style but the heights are all different. I added code to make them equal height but this code isn't responsive, so they're not equal heights on smaller screens (mobile is fine as it stacks). Does anyone have code to remedy this?
tuanphan Posted August 12, 2021 Posted August 12, 2021 On 8/9/2021 at 6:06 PM, kayleigh said: Site URL: https://deliamonk.com/services Hi! To create pricing tables I've used image stack blocks with some code to style but the heights are all different. I added code to make them equal height but this code isn't responsive, so they're not equal heights on smaller screens (mobile is fine as it stacks). Does anyone have code to remedy this? Hi Add to Design > Custom CSS /* services-equal height boxes */ @media screen and (min-width:768px) { div#block-yui_3_17_2_1_1626015402372_31686+.row { display: flex; flex-wrap: nowrap; } div#block-yui_3_17_2_1_1626015402372_31686+.row>.span-4:not(:nth-child(2)) { background-color: RGBA(242, 247, 250, 1); border: 1px solid RGBA(190, 211, 229, 1); margin-left: -1px; } div#block-yui_3_17_2_1_1626015402372_31686+.row>.span-4 .image-block { padding: 0px !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!)
kayleigh Posted September 12, 2021 Author Posted September 12, 2021 Thanks so much @tuanphan, You seem to be the forum hero! Only just seeing this, I didn't get a notification that you'd replied 😞 I got my wordpress developer to fix this last week, but I'll save this for future sites. Appreciate you 😁
Recommended Posts
Archived
This topic is now archived and is closed to further replies.