Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1348760
    Michael P
    Participant

    Hi,

    In Essential Grid, I’m trying to achieve something like the effect described in this thread:

    Essential Grid masonry fixed height

    The css provided is:

    .page-id-99 .mainul li {
       min-height:610px;
    }

    So what this achieves is an even layout, which is great. But what I really want is an even layout and fixed height content boxes underneath the images on the grid.

    You will need to log in to the site to see my draft page, I have provided the details below.

    #1348764
    Michael P
    Participant
    This reply has been marked as private.
    #1348782
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> Global CSS :

    .esg-entry-content.eg-ronald-reagan-content.esg-notalone {
        height: 200px;
    }

    Hope that helps.

    #1348788
    Michael P
    Participant

    Worked! Thank you.

    #1348796
    Christopher
    Moderator

    You’re welcome.

    #1348825
    Michael P
    Participant

    One more question: is it now possible to add another line of css that would return the content boxes to their default, when under a certain media size, for example when viewed on an iPhone?

    #1349179
    Rad
    Moderator

    Hi there,

    What default value and what content boxes? If you’re referring to above CSS and only wish to apply it on desktop and it should be like this

    @media ( min-width: 980px ) {
    .esg-entry-content.eg-ronald-reagan-content.esg-notalone {
        height: 200px;
    }
    }

    Thanks!

    #1350462
    Michael P
    Participant

    Thanks for your help – I wanted the CSS to apply on every device other than iPhone, so I changed to min-width: 667px and it worked perfectly.

    #1350524
    Christian
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-1348760 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>