简体   繁体   English

重复元素上缺少样式?

[英]Missing Styles on a repeated element?

I'm working on a jQuery Grid and List view. 我正在使用jQuery Grid and List视图。 List view is fine, This was already built as default. 列表视图很好,它已经默认构建。 The problem I'm having is the Grid View. 我遇到的问题是网格视图。

Example is : here 例子是: 这里

As you can see when clicking on Grid View. 正如您在单击“网格视图”时所看到的。 The "Add to Cart, Quantity and SKU Code" only load for the one product. “添加到购物车,数量和SKU代码”仅针对一种产品加载。

I'm suspecting its something to do with the absolute positioning? 我怀疑这与绝对定位有关吗? Could be wrong. 可能是错误的。 But if anyone can point me in the right direction to correct this, So that this is repeated for ALL elements, would be much appreciated 但是,如果有人可以指出正确的方向来纠正此问题,那么对所有元素重复此操作,将不胜感激

Thanks 谢谢

you have to remove position:absolute from following classes: 您必须从以下类别中删除position:absolute

.buy-now
.buynowprices

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM