• Resolved porvari

    (@porvari)


    I want to showcase one single post in the section, but as there isn´t three posts written the first one gets copied three times. How can I change this so that the one post stands alone on the front page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author lyrathemes

    (@lyrathemes)

    @porvari Can you show us your URL? Would you like the single post to show up in the center? We may need some custom CSS to hide the other two duplicate featured posts.

    But I would actually suggest hiding the entire featured posts section while you create more posts.

    Thread Starter porvari

    (@porvari)

    Yes centering the one post and hiding the duplicates will do! Could you write some code? 🙂

    Hi @porvari,

    Please go to Appearance → Customize → Additional CSS and add the following css:

    .frontpage-featured-posts .row > .col-md-4 {
        width: 100%;
        text-align: center;
    }
    
    .frontpage-featured-posts .row > .col-md-4 .entry-summary {
        text-align: center;
    }
    
    .frontpage-featured-posts .row > .col-md-4 img {
        margin: 0 auto;
    }
    
    .frontpage-featured-posts .row > .col-md-4:nth-child(2),
    .frontpage-featured-posts .row > .col-md-4:nth-child(3) {
        display: none;
    }

    Please note that the image size on featured posts section is 760x400px so your image will not take full size of the container.

    Kind regards

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Editing Featured Posts’ is closed to new replies.