gpt4 book ai didi

css - 摆脱 Magento 图像 slider 上的 2 个随机点

转载 作者:太空宇宙 更新时间:2023-11-04 14:55:43 24 4
gpt4 key购买 nike

我目前正在使用 Magento 自定义网站。我安装了一个 wow-slider 图像 slider 。它有效,但它似乎在左侧有 2 个随机点,并且在阴影之前还有一个随机空间。

请看链接ellamatt.mygostore.co.uk

请看这里,如果您有想法请告诉我。我会给你代码,但有一些 CSS 和 JS 页面与之相关。

PS:它在通常的 HTML 中可以正常工作,但在 Magento 中不能。

最佳答案

两个点是因为 li 元素。

在此 css 规则中将 list-style 属性更改为 none 将摆脱它们:

旧:

.widget-static-block ul {
list-style: disc outside none;
padding-left: 1.5em;
}

新:

.widget-static-block ul {
list-style: none outside none;
padding-left: 1.5em;
}

并且,对于阴影,在相同的 css 规则上,添加高度为零并将其显示为内联将使 ul block 不碍事并删除阴影之前的空间。

决赛:

.widget-static-block ul {
display: inline;
height: 0;
list-style: none outside none;
padding: 0;
}

关于css - 摆脱 Magento 图像 slider 上的 2 个随机点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17003198/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com