This topic has 8 replies, 3 voices, and was last updated 7 years, 4 months ago ago by Laranz
Good evening and thank you for your help. I am trying to make content boxes in a row be the same height. But I also want them the same height when it switches to the tablet view. I am able to do one or the other. I can’t get tie @media to work. Can you tell me what I am doing wrong? I put them in a .ftr-boxes row class.
The boxes are at the bottom of every page.
Thank you!!
.ftr-boxes div.ult-content-box {min-height: 315px !important;}
@media only screen and (max-width: 768px) {
.ftr-boxes div.ult-content-box {min-height: 390px;
}
}
Hello,
Sorry for the delay.
Please thy this option http://prntscr.com/fv3qne if it won’t help, provide wp-admin access in Private Content.
Regards
I am so sorry for the delay in responding. Thank you for the help.
Yes the equal height box was checked but that makes the columns in the row the same height and not the info boxes. I can force the boxes to be the same height but I need the forced height to be different when it goes to tablet media.
Look at the image below in the private area. I was able to get the height to be the same for all three boxes with the code above. My problem is that I can’t get it to change for the @media call for tablets. I need the min-height to change to be 390px when viewing on a tablet but the code I have above isn’t working.
What am i doing wrong?
In this case, try to add !important;
http://prntscr.com/fxyvkv
Regards
Thank you for the response but that didn’t quite work.
I did that and now it is always 390px. We need it to be 390px for tablets and then 315px for regular computer monitors please.
In this case change your media query:
@media (max-width: 1200px) and (min-width: 768px) {
.ftr-boxes div.ult-content-box {
min-height: 390px !important;
}
}
Regards
Yay that worked! Thanks
Hi,
Glad we helped. 🙂
Let us know if you have any other questions,
Thanks,
laranz.
You must be logged in to reply to this topic.Log in/Sign up