Tagged: x
-
AuthorPosts
-
November 7, 2016 at 6:38 am #1246981
sandra.iParticipantHello
I would like to add 3 horizontal divider lines for the columns in my blog index page, could you help me do this?
November 7, 2016 at 6:39 am #1246983
sandra.iParticipantThis reply has been marked as private.November 7, 2016 at 6:40 am #1246987
sandra.iParticipantThis reply has been marked as private.November 7, 2016 at 7:45 am #1247055
ThaiModeratorHi There,
Please add the following CSS under Customizer > Custom > Global CSS:
.blog .x-iso-container.cols-3>.hentry { -webkit-box-shadow: 1px 1px 2px 0px rgba(212, 189, 189, 0.75); -moz-box-shadow: 1px 1px 2px 0px rgba(212, 189, 189,0.75); box-shadow: 1px 1px 2px 0px rgba(212, 189, 189,0.75); }Hope it helps 🙂
November 7, 2016 at 8:09 am #1247080
sandra.iParticipantHi
yes that great thanks!
Could I ask a couple of things:
1 – how do I change the colour to plain black, with no shadow?
2 – the line on the left side of the page is missing
3 – the line on the right hand of the page is slightly out of alignment, it too far right
Could you help me fix these?
Thanks
November 7, 2016 at 9:19 am #1247182
RupokMemberHi there,
Let’s try this :
.blog .x-iso-container.cols-3 > .hentry { border-left: 1px solid #000; border-right: 1px solid #000; }Let us know if that works for you.
November 7, 2016 at 9:28 am #1247194
sandra.iParticipantHi
Thanks for that. That looks better but it looks like
– the border is being doubled up in the column in the middle
– the bottom horizontal divider is now missing
– the whole section is wider than the normal page width
Could you have another look?
November 7, 2016 at 6:09 pm #1247834
FriechModeratorHi There,
#1 Please update the given css code to this:
.blog .x-iso-container.cols-3 > .hentry { border-left: 1px solid #d5cece; } .blog .x-iso-container.cols-3 > .hentry:nth-child(3n) {border-right: 1px solid #d5cece;}#2 Add this on your custom CSS
.x-colophon.top { border-top: 1px solid #d5cece; margin-top: 16px; }#3 Lets add a bit of a margin on both sides of the container.
.site #x-iso-container { margin-left: 0.5%; margin-right: 0.5%; }Hope it helps, Cheers!
November 8, 2016 at 2:35 am #1248351
sandra.iParticipantThis reply has been marked as private.November 8, 2016 at 3:20 am #1248387
sandra.iParticipantThis reply has been marked as private.November 8, 2016 at 3:44 am #1248413
Paul RModeratorHi,
Please change the code that reads.
.blog .x-iso-container.cols-3 > .hentry:nth-child(3n) { border-right: 1px solid #d5cece; }with this
.blog .site #x-iso-container { border-right: 1px solid #d5cece; }Hope that helps.
November 8, 2016 at 4:33 am #1248450
sandra.iParticipantThis reply has been marked as private.November 8, 2016 at 5:17 am #1248505
ChristopherModeratorHi there,
Please update following code :
.blog .x-iso-container.cols-3 > .hentry { border-left: 1px solid #d5cece; padding: 15px; border-bottom: 1px solid #d5cece; } /* Format post metadata*/ .blog p.p-meta { font-family: "Proxima nova",sans-serif; text-align: center; text-transform: uppercase; padding-bottom:10px; padding-top:10px; } /*masonry blog body text*/ .blog .entry-content { font-size: 1em; line-height: 1.4; } To :.blog .x-iso-container.cols-3 > .hentry {
border-left: 1px solid #d5cece;
padding: 15px;
border-bottom: 1px solid #d5cece;
}
.blog p.p-meta {
font-family: “Proxima nova”,sans-serif;
text-align: center;
text-transform: uppercase;
padding-bottom: 0px;
padding-top: 0;
margin-top: 0;
}.blog .entry-content {
font-size: 1em;
line-height: 1.4;
margin-top: 8px;
}Add this code too :.blog .x-iso-container.cols-3 > .hentry:last-child {
border-right: 1px solid #d5cece;
}.x-colophon.top {
border-top: none;
}
`Hope it helps.
November 8, 2016 at 7:04 am #1248596
sandra.iParticipantThis reply has been marked as private.November 8, 2016 at 8:38 am #1248716
LelyModeratorHello There,
1. That is how it will work because of Masonry structure. nth-child selector has issue on Masonry structure. The border on the right was added on the whole part of the Masonry box. It seems missing in the inside because the content doesn’t reach that part.
2.) The date is above the title. Same with your screenshot.
3.) Add this custom CSS to remove / after the date
.p-meta>span:nth-child(2):after { content: ''; }4.) Please use this:
.blog .site > .x-container.max.width.offset { margin-bottom: 0; }Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1246981 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
