css EL-Custom Elementor CSS由Dave Foy修复

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css EL-Custom Elementor CSS由Dave Foy修复相关的知识,希望对你有一定的参考价值。

/* ================================================================================ */
/* Custom CSS by Dave Foy - https://www.designbuildweb.co - hello@designbuildweb.co */
/* ================================================================================ */
 
/* Use the same method of sizing elements as Elementor does */
body * {
    box-sizing: border-box;
}
 
/* Elementor - set some default left and right padding on mobile - same as in GeneratePress */
.elementor-top-section.elementor-section-boxed > .elementor-container {
    padding: 0 20px;
}
 
/* 1. Don't set padding if an Elementor library item is embedded within another section via shortcode */
/* 2. Don't set padding if an Elementor library item is embedded within a standard non-full width page */
.elementor-top-section .elementor-top-section.elementor-section-boxed > .elementor-container,
body:not(.full-width-content) .entry-content .elementor-top-section.elementor-section-boxed > .elementor-container {
    padding: 0;
}
 
/* 3. Don't set padding if the section has a class of 'nopad' */
.elementor-top-section.elementor-section-boxed.nopad > .elementor-container {
        padding: 0;
    }
 
/* Make Elementor elements expand to fit the full available width.
This is due to how Elementor puts padding all the way around 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;
}

以上是关于css EL-Custom Elementor CSS由Dave Foy修复的主要内容,如果未能解决你的问题,请参考以下文章

WPGraphQL 和 Elementor 获取页面或发布 css 和脚本

css Elementor字体真棒

在 wordpress elementor 页面中添加 css 和 js 文件的位置

php 标题中的Elementor + Genesis CSS

在 Elementor / Wordpress 中居中下拉菜单

双端动画 CSS