Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1364214
    nathanr_
    Participant

    Hi,

    I have a small issue which I think is just a slight mistake with a code:

    I wanted to add grey lines between the blog posts on the main blog page so I used the following code:

    /* adds grey dividing line – BLOG
    ———————————*/

    .hentry {
    margin-top: 2em;
    }

    article {
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    }

    This works perfectly but it adds a grey line underneath every essential gird and a white line above the footer for some reason, how can I stop it placing a grey line underneath the essential grids and causing a white line above the footer.

    I have attached images to show what is happening.

    Thank you
    Nathan

    #1364217
    nathanr_
    Participant
    This reply has been marked as private.
    #1364218
    nathanr_
    Participant
    This reply has been marked as private.
    #1364223
    nathanr_
    Participant
    This reply has been marked as private.
    #1364228
    nathanr_
    Participant
    This reply has been marked as private.
    #1364405
    Christian
    Moderator

    Please remove

    
    article {
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
    }

    Thanks.

    #1365741
    nathanr_
    Participant
    This reply has been marked as private.
    #1365835
    Paul R
    Moderator

    Hi Nathan,

    Please change the code to this.

    
    .blog article {
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    }
    

    Hope that helps

    #1396101
    nathanr_
    Participant

    Hi,

    Thank you, issue fixed.

    Thank you
    Nathan

    #1396119
    Thai
    Moderator

    You’re most welcome 🙂

  • <script> jQuery(function($){ $("#no-reply-1364214 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>