Magento模板/布局如何更改产品视图

时间:2012-06-25 22:24:24

标签: html css magento layout

  

可能重复:
  Pinpointing the difference and changes made between two pages in magento 1.6.2

http://dokha.co/index.php/shisha-tobacco/al-fakher-shisha-tobacco-108.html 正如您从上面的链接中看到的那样,产品页面在某种程度上是杂乱无章的。

我在下面做了一些修改,在firebug中,并截取屏幕截图。任何人都可以就如何实施这些变化提出建议吗?

enter image description here

2 个答案:

答案 0 :(得分:1)

您正试图提升“选择风味”块?

查看源并删除DOM节点<div class="clearer"></div>。我使用谷歌Chrome浏览器,因为它很容易做到这一点。我右键单击选择一个风味,然后选择了检查元素。在下部窗格中,我向上导航直到更清晰的块并删除它。

答案 1 :(得分:1)

使css更改为您的页面。请在skin / frontend / yourfolder / css / custom.css中创建custom.css文件,并添加您在浏览器中创建的样式。

就个人而言,我使用Google Chrome浏览器对页面进行更改,然后复制到自定义的.css文件中。 最好不要在默认的.css中替换,而是使用自定义版本,因此您拥有原始文件的版本。

希望它有所帮助。

干杯

相关问题