Remove "Latest Post" line

  • Unknown's avatar

    I would like to remove the line “Latest Post” on the front page, just above the latest post.

    (Btw, On that position I actually need to have a static post. So I keep changing the time of that particular post to the latest time; not sure if this is the way to do that…)

    I am using The Morning After theme. Thanks a lot.

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

  • HI there! Let’s go :)

    You can remove your ‘Latest Post’ text with this custom CSS code:

    #latest_post h3.mast {
        display: none;
    }

    You can usually get the same effect you need (having one post on top of the stack) by marking one post as ‘stiky’. You can read more about sticky posts, in this support topic: https://en.support.wordpress.com/post-visibility/

    But… this doesn’t work directly in your theme (morning after). If you mark one of your posts as sticky, it will be displayed in the ‘featured posts’ area. You can take a look to the page scheme, here: https://wpbtips.wordpress.com/2011/06/02/the-morning-after/
    So… you will always have your ‘latest post’ on top of the page.

    What would I do. I would either change the theme to adapt better to my needs or add a piece of custom css to make this area invisible. Something like this:

    #latest_post {
        display: none;
    }

    (In this case you would not need the first code, as ‘Latests post’ message would not appear).

    Hope this helps you :)

  • Unknown's avatar

    Thank you very much, it worked.

    I also will consider your other comments, very much appreciated. I might change theme if it bothers me.

  • Glad to read that helped you!

  • The topic ‘Remove "Latest Post" line’ is closed to new replies.