Latest Posts on Front Page

Community Forums Forums Design Tips and Tricks Latest Posts on Front Page

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  fortyfivecreative 5 months, 1 week ago.

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

    fortyfivecreative
    Participant
    Post count: 10

    Hi,

    I’m trying to show snippets of the 3 latest posts (from any category) as a 3-column responsive layout on a 1 page site using the Genesis sample theme. I tried using the Genesis Featured Posts plugin but this won’t allow me to use columns. I am trying to avoid doing this via CSS nth items and would like to apply the ‘one-third’ and ‘one-third first’ divs via a function.

    Please see the NEWS section at: http://tok.hostfortyfive.co.uk/

    Thanks!
    David

    http://tok.hostfortyfive.co.uk/
    #90967

    pxforti
    Participant
    Post count: 68

    If you have only 3 items, it’s pretty easy to use css to make each item 33.33%. That should do the trick. You might have to play around with the padding. You wouldn’t have to use nth-of-type unless you plan to have multiple rows.


    writeNowDesign
    WordPress and Ecommerce Website Design

    #90968

    pxforti
    Participant
    Post count: 68

    Sorry: I meant to say width: 33.333% for each .entry


    writeNowDesign
    WordPress and Ecommerce Website Design

    #91108

    fortyfivecreative
    Participant
    Post count: 10

    Thanks, but in order to use the Genesis column classes I would need to apply column specific CSS rules ‘one-third’ ‘one-third first’. I was hoping to do this entire task via function rather than using the widget and adding additional CSS.

    David

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.