Elementor Widget分离问题

时间:2020-05-21 15:46:18

标签: wordpress web elementor

我第一次使用elementor,我无法删除小部件之间的空间,您可以看到内部有渐变的灰色8px小线(那是我的图片)。当我放置这张图片时,Elementor在行的上方和下方添加了空白,我认为这只是在设计时才添加的,但是当我更新并在浏览器中看到时,空白在这里继续。当然,媒体库中的图片没有这样的空格...我不知道要尝试什么,唯一的技巧是强制设置边距,但是当屏幕更改时,它就会重叠(这不是解决方案) 。我认为Elementor应该将图片放置在没有空白的地方,而只是图片。我设置了下一个属性:

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main() {

    srand(time(NULL));
    int array [20] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11,12,13,14,15,16,17,18,19,20};
    int randomIndex = rand() % 20;
    int randomValue = array[randomIndex];
    int low = 0;
    int high = 19;


    printf("The random number to find is %d\n", randomValue);

    while (high >= low) {
        int middle = (low + high) / 2;

        if (array[middle] < randomValue) {
            printf("The number %d is lower than the random number\n",array[middle]);
            low = middle+1;

        }

        if (array[middle] > randomValue) {
            printf("The number %d is lower than the random number\n", array[middle]);
            high = middle - 1;
        }

        if (array[middle] == randomValue) {
            printf("The number %d  is the correct random number", array[middle]);
            break;
        }

    }
    return 0;

}

enter image description here

1 个答案:

答案 0 :(得分:0)

我有两个想法可能对您有帮助:

  • 检查边框,也许是您意外设置或导入了边框
  • 看看您的自定义CSS。有时,诸如envato元素之类的插件会在不通知您的情况下添加其自定义CSS

使用浏览器并检查元素以找出是否存在间隙也是一个好主意。您也可以在正在使用的小部件旁边的元素上尝试使用这种方法。

相关问题