<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 5 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 5 年前。
我在使用 WordPress 的 WooCommerce 插件时遇到了一些恼人的问题。 当我在类别中添加产品时,我可以在类别列表中看到图片,但是当我进入产品页面时,图片不可见。在检查元素中,我看到了图片 url 和 div。我试图改变它的不透明度、z-index、在检查元素中的位置,但仍然没有结果。还尝试使用 !important 参数。
描述不会显示在类别或产品页面上。
有我的页面:LINK
WordPress 模板是:Illdy
最佳答案
我已经检查了您提供的链接,似乎类 (woocommerce-product-gallery woocommerce-product-gallery--with-images woocommerce-product-gallery--columns-4 images) 的 div 不透明度:0 只需尝试使 opacity= 1,或禁用它以显示图像,我认为这与您的 JavaScript 文件有关。
关于html - Woocommerce 产品图片和描述不会显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44500737/