WordPress.org

Forums

Twenty Fourteen
[resolved] How to show the line of separation between the articles on the homepage? (6 posts)

  1. prusno
    Member
    Posted 1 year ago #

    After entering this code "a.post-thumbnail {display: none;}" in style.css to hide pictures on the homepage, I realized that you do not see the separation line between articles. How can I do to make sure that you see that?

    I'm no expert so please explain how to do it in a simple way.

    Sorry for my english.

    Thanks!

  2. WPMU DEV
    Member
    Posted 1 year ago #

    Hi @prusno,

    Try adding the following CSS code in the style.css file of your child theme or add it in your site using the following plugin.

    .list-view #content .hentry.has-post-thumbnail{
           border-top: 1px solid rgba(0, 0, 0, 0.1);
           padding-top: 48px;
    }

    http://wordpress.org/plugins/simple-custom-css

    Cheers,

  3. prusno
    Member
    Posted 1 year ago #

    thanks for the reply!

    one last question ... now that I've added the code that you wrote to me the separation line appears even before the first article. How can I do to get it out before the first article?

    Thanks again :)

  4. WPMU DEV
    Member
    Posted 1 year ago #

    Hi @prusno,

    Thank you for your reply.

    To remove the separation line from the first article just use the following code along with previous code.

    .list-view #content .hentry:first-of-type{
    	border-top: 0;
    	padding-top: 0;
    }

    Cheers,

  5. prusno
    Member
    Posted 1 year ago #

    Thank you for your precious help!

  6. WPMU DEV
    Member
    Posted 1 year ago #

    You are most welcome, if I can be of any further assistance please don't hesitate to ask :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic