我是zencart新手,学习基础知识。我已经安装了一个名为'pre_green'的主题。主题正常,但产品尺寸非常小。我检查了抓住产品的div,但无法找到与宽度有关的任何东西。当我检查source-code
时,我看到一个style="width:33%;
被自动添加到divs。我想这是因为我的产品尺寸很小。在Zencart中增加产品宽度CSS
<div class="centerBoxWrapper" id="featuredProducts">
<h2 class="centerBoxHeading">Our Products</h2>
<div class="centerBoxContentsFeatured centeredContent back" style="width:33%;">
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_3&products_id=7">
<img src="images/chili.gif" alt="Chilli" title=" Chilli " width="100" height="67" /></a>
<br />
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_3&products_id=7">Chilli</a><br />Rs.0</div>
<div class="centerBoxContentsFeatured centeredContent back" style="width:33%;">
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_2&products_id=3">
<img src="images/melon.jpg" alt="Melon" title=" Melon " width="100" height="70" />
</a>
<br />
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_2&products_id=3">Melon</a>
<br />Rs.0</div>
<div class="centerBoxContentsFeatured centeredContent back" style="width:33%;">
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_2&products_id=4">
<img src="images/orange.jpg" alt="Orange" title=" Orange " width="100" height="70" />
</a>
<br />
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_2&products_id=4">Orange</a>
<br />Rs.0</div>
<br class="clearBoth" />
<div class="centerBoxContentsFeatured centeredContent back" style="width:33%;">
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_3&products_id=9">
<img src="images/potato.jpg" alt="Potato" title=" Potato " width="80" height="80" /></a>
<br />
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_3&products_id=9">Potato</a>
<br />Rs.50</div>
<div class="centerBoxContentsFeatured centeredContent back" style="width:33%;">
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_3&products_id=11">
<img src="images/tomato.jpg" alt="Tomato" title=" Tomato " width="80" height="80" />
</a>
<br />
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_3&products_id=11">Tomato</a>
<br />Rs.60</div>
<div class="centerBoxContentsFeatured centeredContent back" style="width:33%;">
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_2&products_id=2">
<img src="images/banana.jpg" alt="Banana" title=" Banana " width="100" height="70" />
</a>
<br />
<a href="http://localhost/zencart/index.php?main_page=product_info&cPath=1_2&products_id=2">Banana</a><br />Rs.30</div>
<br class="clearBoth" />
所以我想知道如何增加尺寸或修改百分比。提前致谢。
你是如何安装模板的?有什么方法可以自己编辑文件吗? – GordonsBeard 2013-02-28 07:10:51
我已经从管理面板安装。是的,我可以编辑这些文件 – AssamGuy 2013-02-28 07:22:36