Skip to content

Instantly share code, notes, and snippets.

@joychetry
Last active April 20, 2020 12:04
Show Gist options
  • Save joychetry/d5ee121ef84fbbb1953d3f6d498713d2 to your computer and use it in GitHub Desktop.
Save joychetry/d5ee121ef84fbbb1953d3f6d498713d2 to your computer and use it in GitHub Desktop.
Responsive 100% Columns Alignment in Elementor
/* Quick Use */
/* Section */
selector .elementor-container .elementor-row {
flex-wrap: wrap;
}
/* Column */
selector {
width: 100%;
}
/* MAGICAL CSS Rule */
selector .elementor-container .elementor-row {
flex-wrap: wrap;
/* uncomment for columns alignment */
/* justify-content: center; */
}
/* Responsive Columns Alignment - Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
selector .elementor-container .elementor-row {
justify-content: end;
}
}
/* Media Query - Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
selector {
width: 100%; /* or whatever you like */
}
}
/* Media Query - Mobile */
@media (max-width: 767px) {
selector {
width: 100%; /* or whatever you like */
}
}
/* Merged Media Query - Tablet and Mobile */
/*
@media (min-width: 1px) and (max-width: 1024px) {
selector {
width: 100%;
}
}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment