Flatsome主题- 添加适用人群

本页面内容可以快速为你的WordPress网站添加适用人群模块,可用于网站客户评价、用户定位、市场调研,前提你必须安装了WordPress Flatsome主题。

  • Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse et elit pulvinar, eleifend massa a, consectetur.
  • Mauris quis lacus et libero imperdiet bibendum. Pellentesque eu enim quis ex tempor hendrerit.
  • Aenean rhoncus sapien euismod felis congue viverra. Nulla consequat nibh at massa vestibulum aliquam in eu mauris.
  • Nullam tempus est quis justo vehicula, in suscipit ex facilisis. Integer elementum nisl vitae ligula pellentesque, non sollicitudin mauris.
  • Nunc vel nibh nec turpis varius pharetra eget id tellus. Cras pretium turpis ac scelerisque venenatis.
  • Fusce vitae eros ac nulla efficitur ultricies. Vivamus a metus auctor, lobortis enim.

短代码

[section label="List: Use Cases" bg_color="rgb(248, 246, 244)" padding="66px" padding__sm="18px" padding__md="42px" class="list-use-cases"]

[gap]

[row v_align="equal" padding="36px 36px 36px 36px" padding__md="24px 24px 24px 24px"]

[col span="6" span__sm="12" bg_color="rgb(255,255,255)" bg_radius="8" max_width="506px" border="1px 1px 1px 1px" border_radius="8" border_color="rgb(235, 235, 236)"]

[featured_box img="1022" img_width="96" pos="center" margin="0px 0px 24px 0px" class="portrait"]

<h3 class="heading">For web designers</h3>

[/featured_box]
<ul>
<li class="bullet-checkmark">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse et elit pulvinar, eleifend massa a, consectetur.</li>
<li class="bullet-checkmark">Mauris quis lacus et libero imperdiet bibendum. Pellentesque eu enim quis ex tempor hendrerit.</li>
<li class="bullet-checkmark">Aenean rhoncus sapien euismod felis congue viverra. Nulla consequat nibh at massa vestibulum aliquam in eu mauris.</li>
</ul>

[/col]
[col span="6" span__sm="12" bg_color="rgb(255,255,255)" bg_radius="8" max_width="506px" border="1px 1px 1px 1px" border_radius="8" border_color="rgb(235, 235, 236)"]

[featured_box img="1021" img_width="96" pos="center" margin="0px 0px 24px 0px" class="portrait"]

<h3 class="heading">For shop owners</h3>

[/featured_box]
<ul>
<li class="bullet-checkmark">Nullam tempus est quis justo vehicula, in suscipit ex facilisis. Integer elementum nisl vitae ligula pellentesque, non sollicitudin mauris.</li>
<li class="bullet-checkmark">Nunc vel nibh nec turpis varius pharetra eget id tellus. Cras pretium turpis ac scelerisque venenatis.</li>
<li class="bullet-checkmark">Fusce vitae eros ac nulla efficitur ultricies. Vivamus a metus auctor, lobortis enim.</li>
</ul>

[/col]

[/row]

[/section]

css


/*---------- 列表:适用人群 ----------*/
.list-use-cases .portrait img {
  border-radius: 50%;
}
.list-use-cases h3.heading {
  font-size: 150%; /* 24px */
  line-height: 1.2;
}
.list-use-cases ul {
  margin-bottom: 0;
}
.list-use-cases li.bullet-checkmark {
  padding: 0 0 16px 48px;
  margin-bottom: 16px;
  border-bottom: 1px solid #ebebec; /* Change list divider color */
}
.list-use-cases li.bullet-checkmark:last-child {
  padding: 0 0 0 48px;
  margin-bottom: 0;
  border-bottom: none;
}
.list-use-cases li.bullet-checkmark:before {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  color: #fff; /* Change checkmark color */
  border-radius: 50%;
  background-color: #392396; /* Change checkmark background color */
}

可能发生的事

  • 图片不显示

是因为你的网站中没有本页的图片,请重新上传图片替换即可正常显示

如何使用扁平化模块

在您的 Flatsome 网站上使用扩展组件非常简单。
首先,复制提供的短代码并将其粘贴到文本页面编辑器或直接粘贴到 UX Builder。

1. 复制并粘贴短代码

2.添加自定义CSS代码

其次,复制 CSS 代码(如果提供)并将其粘贴到您的项目中以获得所需的样式。在 WordPress 中添加和更新 CSS 代码的方法有多种,所以让我们逐一了解一下。

WordPress 额外 CSS

外观→自定义→额外 CSS

Css Method 2

Flatsome 自定义 CSS

Flatsome →高级→自定义 CSS

20240513130622

Css Method 3

主题样式.css

外观→主题编辑器→ style.css

20240513130736

Css Method 4

 

Open this in UX Builder to add and edit content