WordPress.org

Forums

Make Featured Posts Plugin Horizontal (4 posts)

  1. taxiecabbie
    Member
    Posted 2 years ago #

    Okay, so I'm trying to put the Featured Posts Plugin in the main body of my static landing page. I've got the widget to put it there, but the Featured Posts keep on coming up vertically, but I'd like them to be horizontal. This is the code I have in the .css file:

    .featuredpage,
    .featuredpost {
    float: left;
    width: 215px;
    display: block;

    }

    .home-featured-posts .featuredpost {
    float: left;
    margin: 0 20px 0 0;
    width: 172px;
    }

    .featured .featuredpage,
    .featured .featuredpost {
    float: left;
    margin: 0 20px 0 0;
    width: 172px;
    }

    I've been messing with it for a while, so feel free to tear that apart. I've gotten it to the point where each individual "post" block is the size I want, but they're not horizontal. Thanks for your help!

  2. Kelvin Castelino
    Member
    Posted 2 years ago #

    Would you be able to share the test site link, so could have a look at it, and then maybe help you find a solution for it!

  3. taxiecabbie
    Member
    Posted 2 years ago #

    Hm, I'm actually building the site on MAMP, so it's all local. Any suggestions? I'm more than willing to send over a screenshot and... if there's a way for me to make a rolling box of code, I could do that? I just don't want to drop a CSS bomb here. Thanks for your reply. :)

  4. Kelvin Castelino
    Member
    Posted 2 years ago #

    You could use pastebin or jsfiddle or something with your code in it and share, so it would be easier to figure out the exact problem. And a screen shot would be also helpful :)

Topic Closed

This topic has been closed to new replies.

About this Topic