Shopify:隐藏与兄弟按钮具有相同属性的按钮

Shopify: Hide a button that has the same attributes as a sibling button

在 Shopify collection 页面中,我有两个具有相同 HTML 的按钮以两种样式显示产品。我需要禁用产品的垂直显示。您能帮我添加 CSS 使其隐藏吗?下图中标记的按钮应该是 hidden.Link 页面是 here 请任何 collection 页面看到这些按钮。

将此 css 代码应用到您页面上可用的 css 文件中

你的 css 文件 assets/bold-options.css

css代码:-

.filter__views .filter__view:nth-child(2) {
    display: none;}

此代码将隐藏您在图像中标记的按钮