drzil26260 2013-11-13 13:48
浏览 17
已采纳

Magento - 删除1.8上的“ShortDescription”Div

A Magento & php noob here. I'm trying to removed the Short Descriptions from a store as they are unnecessary/unneeded. I've adjusted the attributes to disable them.

It seems to leave a white space similar to a
although i can't find any in the code.

I've been trawling google and forums but all the fixes are for older outdated version and do not work.

I've tried to removed the nl2br tag but still it has no effect.

Current website is here: www.petwholesale.co.uk/magento/

Is there anyway to force the div not to load? I'm fairly new to all this and it's rather confusing!

Thanks, Max

  • 写回答

1条回答 默认 最新

  • dtsc14683 2013-11-13 14:03
    关注

    There is a large amount of padding on the bottom of the list item. The following css section is the area that should be reduced.

    .col2-left-layout .products-grid li.item, .col2-right-layout .products-grid li.item {
        padding: 0px 20px 60px 0;
        width: 200px;
    }
    

    But even then the reason that the Add to cart button appears to display after this padding is because of the position absolute on the action div.

    .products-grid .actions {
        position: absolute;
    }
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 STM32驱动继电器