How to make first excerpt larger than the rest

  • kingsays

    #10413

    Hi,

    Just wondering if there was a way of making the top excerpt/post larger then the rest so it looks like a magazine theme something like this…

    http://www.huffingtonpost.com/entertainment/

    When I change show excerpts at the moment they all come out the same size with small thumbnails. I like this for the the rest of the posts with a small thumbnail and the text on the side, but I would like the top/latest story to be larger thumbnail that expands the width of the column with the tex below. I only want this on the front page. Also, i tried changing thumnail size to increase the other ones but they all stay the same in excerpt/archive mode.

    http://www.kingsays.com

    Thanks

    kingsays

    #46076

    I was previously told…

    ” You can always use the :first-child pseudoclass in your css. ”

    but I have no idea what that means. Do I have to create a child theme or can I just edit one of the lines in the theme editor section.

    Mod

    Kenneth John Odle

    #46077
    Quote:
    Do I have to create a child theme or can I just edit one of the lines in the theme editor section.

    Don’t edit theme files.

    If you have minor changes (say, less than 20 lines), you can add that code to Graphene’s custom CSS function. But if you have a lot of modifications to make, you are better off using a child theme.

    kingsays

    #46078

    Cool

    So, is there a way I can make the latest post a full post and the rest excerpts?

    Mod

    Kenneth John Odle

    #46079

    If you have some experience with CSS, it’s just a matter of looking at the source code or using Developer Tools (F12) to figure out which element you need to make larger.

    Mod

    Kenneth John Odle

    #46081
    Quote:
    So, is there a way I can make the latest post a full post and the rest excerpts?

    This would require the use of a child theme, and copying some theme files over to your child theme. By default, WordPress will display either all full posts or all excerpts. To do one full post followed by excerpts would require some tinkering in PHP.

    kingsays

    #46082

    Sounds way beyond my skill level haha.

    What about having all the posts as excerpts, but having the top(latest) post have a fullsize image and the rest as thumbnails. Would that be easier?

    Thanks

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

You must be logged in to reply to this topic.