babylonjudge Posted April 25, 2010 Share Posted April 25, 2010 用的是ps1.2.5版本 模板是默认的首页下面的featured products 太长了 想把产品描述删掉 不知道如何删除 找到THEME下的Global.css 找到这段代码修改height后无效 #center_column .products_block ul .product_accessories_description { margin:0; padding:0; height:280px; (后台可以找到去掉那些description的 但是这部分我想保留 只是不要显示在首页的那一块就可以了)请前辈们帮忙解答 thx Link to comment Share on other sites More sharing options...
Cheney Posted April 25, 2010 Share Posted April 25, 2010 global.css >> #center_column div.products_block p.product_desc >> set height 9.5 to 0em 把9.5 改成0 就可以了 Link to comment Share on other sites More sharing options...
babylonjudge Posted April 26, 2010 Author Share Posted April 26, 2010 你说的这个步骤我上次已经做了 第一个修改的就是你说的这个 可是一点变化都没有(上次看到类似问题,有人是这样解决的 但我这边不行 我以为不是这样解决的) Link to comment Share on other sites More sharing options...
babylonjudge Posted April 26, 2010 Author Share Posted April 26, 2010 将9.5改为0em后就成下面这个样子(我希望是不显示这个描述) Link to comment Share on other sites More sharing options...
21846657 Posted April 27, 2010 Share Posted April 27, 2010 1. 备份后修改/modules/homefeatured/homefeatured.tpl,用{* 注释 *}掉下面这行代码(像这样): {* {$product.description_short|strip_tags|truncate:130:'...'} *} 2. 清空smarty cache后再测试。 Link to comment Share on other sites More sharing options...
babylonjudge Posted April 27, 2010 Author Share Posted April 27, 2010 谢谢管理员 问题已经等到解决 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now