Skip to content

Instantly share code, notes, and snippets.

@maycomayco
Created July 18, 2018 11:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save maycomayco/b44454bc2ea8e9203cd024cf2e11322e to your computer and use it in GitHub Desktop.
VC 5 columns layout
/*
* Set in row parent "five-columns" class
*/
@media screen and (min-width: 768px) {
.five-columns.vc_row .vc_col-sm-2 {
float: left;
width: 18.5%;
padding: 0;
margin-right: 1.5%;
min-height: 0;
}
.five-columns.vc_row .vc_col-sm-2:nth-last-child(2) {
margin-right: 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment