[Support request] More than one featured image/post in blog

Home Forums Support More than one featured image/post in blog

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1275073
    Morten

    I use GP-premium, and the blog module. Two colums and the featured image/post on top.

    I want to have three featured posts before the two columns. One at the left. And two on the right, on top of each other.

    I have spent numerous hours going trough the code, but I can not find any solution – at least one that I can understand with my coding knowledge – average plus.

    Help wanted. Please do not suggest to use page builders! It would be easy, but no. I want to use Generatepress.

    #1275083
    Morten

    To my question. The widths must not necessarely be 50/50. It is the structure that is imorportant.

    #1275092
    David
    Staff
    Customer Support

    Hi there,

    hmmm…. try this CSS:

    @media (min-width: 769px) {
        .home:not(.paged) #main .generate-columns-container:not(.masonry-container) {
            display: grid;
            grid-template-columns: auto auto;
        }
    
        .home:not(.paged) #main .generate-columns.post {
            width: 100%;
        }
    
        .home:not(.paged) #main .generate-columns:first-child {
            grid-column: 1;
            grid-row: 1 / 3;
        }
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.