Tagged: x
-
AuthorPosts
-
February 9, 2017 at 6:49 am #1364214
nathanr_ParticipantHi,
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
NathanFebruary 9, 2017 at 6:51 am #1364217
nathanr_ParticipantThis reply has been marked as private.February 9, 2017 at 6:52 am #1364218
nathanr_ParticipantThis reply has been marked as private.February 9, 2017 at 6:52 am #1364223
nathanr_ParticipantThis reply has been marked as private.February 9, 2017 at 6:54 am #1364228
nathanr_ParticipantThis reply has been marked as private.February 9, 2017 at 9:43 am #1364405
ChristianModeratorPlease remove
article { border-bottom: 1px solid #ddd; padding-bottom: 20px; }Thanks.
February 10, 2017 at 5:30 am #1365741
nathanr_ParticipantThis reply has been marked as private.February 10, 2017 at 8:01 am #1365835
Paul RModeratorHi Nathan,
Please change the code to this.
.blog article { border-bottom: 1px solid #ddd; padding-bottom: 20px; }Hope that helps
March 6, 2017 at 6:21 am #1396101
nathanr_ParticipantHi,
Thank you, issue fixed.
Thank you
NathanMarch 6, 2017 at 6:34 am #1396119
ThaiModeratorYou’re most welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1364214 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
