【发布时间】:2021-05-20 12:54:09
【问题描述】:
我想按照我的照片进行订购。 我用 elementor 制作了博客页面,需要用 css 网格模板列进行更改。
代码是:
.elementor-grid-2 .elementor-grid {
grid-template-columns: repeat(1,1fr);
}
我想像照片一样首先出现 2 对 1 :) 任何帮助将不胜感激!
【问题讨论】:
-
首先要注意,您需要两列,而不是一列
-
@Paulie_D 我需要它们像照片一样动态更改:1 -> 2 -> 1 -> 2
-
所以?您只需将它们设置为跨越两列 - stackoverflow.com/questions/36470038/…
标签: css wordpress elementor dynamic-columns