Jump to content

【已解决】关于首页产品显示问题


leobenson
 Share

Recommended Posts

我用的是1.2.5版本
我用论坛里的提供的一个解决方法去掉了 首页featured products模块里面的描述的问题
但是 产品的那块灰色背景却没有根据产品大小收缩 而是依旧一块
不知如何解决 我也尝试修改了css 但是没效果 也不知是不是 改的不对地方
希望了解的 前辈们解答下

23141_TvlGu4Hni8iCycr22v2T_t

Share this post


Link to post
Share on other sites

自己摸索解决了问题
打开homefeatured.tpl文件
修改以下代码中的 value=360改为 value=237


           {assign var='liHeight' value=360}
           {assign var='nbItemsPerLine' value=4}
           {assign var='nbLi' value=$products|@count}
           {assign var='nbLines' value=$nbLi/$nbItemsPerLine|ceil}
           {assign var='ulHeight' value=$nbLines*$liHeight}

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More