[Support request] Dispatch theme : how do I set up the height of header and image grid

Home Forums Support Dispatch theme : how do I set up the height of header and image grid

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1094314
    Francesco

    Hi, I would like to have the header and the image grid with a smaller height on mobiles (up to 600 or 720 px width I guess). I can’t find the correct css property , can you please help me ?
    thanks

    #1094420
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    @media (max-width: 768px) {
        /* Height of first post */
        .wpsp-grid article:first-child .wp-show-posts-image a img {
            max-height: 300px;
        }
        /* Height of other posts */
        .wpsp-grid article:not(:first-child) .wp-show-posts-image a img {
            max-height: 200px;
        }
    }
    #1094642
    Francesco

    Thank you, have a great day

    #1094652
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.