Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orenshim/552117a006b093b5749afe0b4589625a to your computer and use it in GitHub Desktop.
Save orenshim/552117a006b093b5749afe0b4589625a to your computer and use it in GitHub Desktop.
Custom CSS to fix Elementor columns gap issue
/* Make Elementor elements expand to fit the full available width - due to how EL puts padding
all the way round columns */
.elementor-section-boxed .elementor-column-gap-default > .elementor-row {
width: calc(100% + 20px);
margin-left: -10px;
margin-right: -10px;
}
.elementor-section-boxed .elementor-column-gap-narrow > .elementor-row {
width: calc(100% + 10px);
margin-left: -5px;
margin-right: -5px;
}
.elementor-section-boxed .elementor-column-gap-extended > .elementor-row {
width: calc(100% + 30px);
margin-left: -15px;
margin-right: -15px;
}
.elementor-section-boxed .elementor-column-gap-wide > .elementor-row {
width: calc(100% + 40px);
margin-left: -20px;
margin-right: -20px;
}
.elementor-section-boxed .elementor-column-gap-wider > .elementor-row {
width: calc(100% + 60px);
margin-left: -30px;
margin-right: -30px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment