Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #465889

    Hi,

    The Enfold theme offers the option to submit a minimum height of a grid row. As some of the cells will have a background picture, we would like to have the height on mobile much smaller than on desktop. I couldn’t find the correct CSS code to add it with a media query for mobile. How can we decrease the minimum height of the grid row (or preferably even the cell, so we can select the cells with background images to be smaller on mobile and the cells with text stay unchanged) on mobile?

    Thank you!

    #466418

    Hi Hotelsolutions!

    Can you please post the link to your page and a screenshot showing the changes you would like to make?

    Regards,
    Yigit

    #467073

    Hi Yigit,

    Thank your for your reply. I’ve attached the screenshots + further explanation in the private content section!

    #467745

    Hi Hotelsolutions!

    Generally speaking you can apply the media query to .flex_cell.

    For example you can use something similar to the below css in the custom css section in your theme options.

    @media only screen and ( min-width: 600px ){
        .flex_cell {
    		min-height: 200px !important;
    		max-height: 300px !important;
         }
    }

    Or you can be more specific by including the .flex_cell_inner, .av_one_fourth (depends on number of cells) or .avia-builder-el-1 (depends on number of cells) classes.

    Best regards,
    Dake

    • This reply was modified 9 years, 5 months ago by Dake.
    #468550

    Thank you Dake, it worked!

    #468756

    Hi!

    Glad we could help :)

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Grid row height’ is closed to new replies.