[Support request] How to set fixed header height

Home Forums Support [Support request] How to set fixed header height

Home Forums Support How to set fixed header height

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #783237
    ALEKSEI

    Hello
    How to set fixed header height? To the pictures were at the same height.

    attached in private url

    #783508
    David
    Staff
    Customer Support

    Hi there,

    can you provide a link to your Site ( You can replace the current link by editing your original topic ) just want to make sure i can provide you the right CSS to resolve.

    #783858
    ALEKSEI

    Hi
    Done!

    #783879
    David
    Staff
    Customer Support

    So try this CSS:

    .grid-container .entry-title {
        line-height: 2.5ex;
        height: 5ex;
        overflow: hidden;
    }

    It will force the entry titles height to be 2 lines deep even if there is only a single line. More than 2 lines will be hidden.

    If you wanted to change it to 3 lines then increase the height: 5ex; to height: 7.5ex ie. 3 x the line-height value.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.