I would like to limit the height of columns with image bg on mobile (so they dont cover the whole screen area). I have created an extra class name for the specific columns (image-column) and try to set max height with css below:
/* Mobile */ @media only screen and (max-width: 480px) { .image-column { max-height: 150px !important; }
What am I doing wrong here? Thanks for your support.
Hey there,
I would like to limit the height of columns with image bg on mobile (so they dont cover the whole screen area). I have created an extra class name for the specific columns (image-column) and try to set max height with css below:
/* Mobile */
@media only screen and (max-width: 480px) {
.image-column {
max-height: 150px !important;
}
What am I doing wrong here? Thanks for your support.
Best, Ondrej
Please provide the page password so we can take a look.
Best
ThemeNectar Support Team
Sorry, my mistake. Just made it public. Thanks
Hi,
Instead of setting max-height you can try overriding the min-height.
Regards,