Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 更改交叉销售产品的最大显示列数_Css_Magento 1.9_Display_Product - Fatal编程技术网

Css 更改交叉销售产品的最大显示列数

Css 更改交叉销售产品的最大显示列数,css,magento-1.9,display,product,Css,Magento 1.9,Display,Product,我使用的是Magento 1.9,交叉销售产品的最大列显示设置为3 我想将它增加到5或6列,而不必搞乱css 这是我在styles.css中找到的 .products-grid > li:nth-child(even) { margin-right: 3.7037%; } .products-grid > li { width: 30.8642%; margin-right: 3.7037%; } 缩小宽度:30.8642%;在同一条线上展示

我使用的是Magento 1.9,交叉销售产品的最大列显示设置为3

我想将它增加到5或6列,而不必搞乱css

这是我在styles.css中找到的

  .products-grid > li:nth-child(even) {
    margin-right: 3.7037%;
  }
  .products-grid > li {
    width: 30.8642%;
    margin-right: 3.7037%;
  }

缩小宽度:30.8642%;在同一条线上展示更多的产品,也可能是空白。你们能分享网站的链接吗?这是不可避免的css@tech2017非常感谢。该网站是(意大利语)@Brian我不再修改css,只是编辑了crosssell.phtml文件(在模板/签出下),将class=“产品网格产品网格--max-3-col”更改为class=“产品网格产品网格--max-5-col”减少宽度:30.8642%;在同一条线上展示更多的产品,也可能是空白。你们能分享网站的链接吗?这是不可避免的css@tech2017非常感谢。该网站是(意大利语)@Brian我不再修改css,只是编辑了crosssell.phtml文件(在模板/签出下),将class=“产品网格产品网格--max-3-col”更改为class=“产品网格产品网格--max-5-col”