Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fix for Kickstart Pro v1.3.6 (and earlier) Home Row #4 post alignment issue which may occur under certain configurations of the Genesis - Featured Posts widget. If you are unsure how to tweak the CSS of your website, see: https://themevalet.com/making-wordpress-css-adjustments-without-editing-theme/
.home-row4 .post:nth-child(odd) {
margin-left: initial;
}
.home-row4 .post:nth-of-type(odd) {
clear: left;
}
.home-row4 .post:nth-of-type(even) {
margin-left: 18%;
}
@media only screen and (max-width: 900px) {
.home-row4 .post,
.home-row4 .post:nth-child(odd),
.home-row4 .post:nth-of-type(even) {
margin: 0 auto 50px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment