Expound theme – 3 featured stories instead of 4

  • Unknown's avatar

    Hi there. I was just wondering if there was a way in the expound theme, to change the number of feature posts (currently 4) under the main feature story to 3. Four featured posts just look a bit cluttered. Is there also a way to reduce the number of words displayed in the 4 featured posts as well?
    At the moment, i have a little bit of CSS code to remove the the 4 featured posts, as i don’t have enough posts and it looks a bit daft. The code i have
    is

    .featured-content-secondary article {
    float: none;
    width: auto;
    }

    Which is borrowed from someone else i might add. I thought that if i changed float: none to float: three or float: 3 that might do it, but my CSS skills are obviously limited!
    If anyone can help, it would be greatly appreciated.
    Thanks in advance

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi !

    This theme has support for 5 featured stories (The main big one and 4 smaller under it) You can use this code to remove the last one and center the three of them. (It will also revert to normal behavior when seen on smaller than 1080px;

    .featured-content-secondary article:last-child{
      visibility: hidden;
      width:0;
      height:0;
    }
    
    @media (min-width: 1080px) {
    .featured-content-secondary article:nth-child(3){
      float:right;
    }
    .featured-content-secondary article:nth-child(2){
      padding-left:90px;
    }
    }
  • Unknown's avatar

    Hi Francisbob, thank you very much for your reply. I’ve copied in the CSS and it doesn’t seem to have worked. Its removed the last but one post, i.e. its not showing in the featured list at all now (only under the recent posts list on the left hand side), so now only one post is showing in the featured space. By the looks of the spacing, i’d say 4 posts would still show here too…

    Cheers

  • Unknown's avatar

    Do you have at least 5 featured posts ? It won’t work if it is not the case.

  • The topic ‘Expound theme – 3 featured stories instead of 4’ is closed to new replies.