dongshen7407
2015-10-06 06:52 阅读 23

如何自定义magento中很长的下拉列表的显示

enter image description hereI have many subcategories to be displayed in home page, but it is vertically too long,, i want to make it scroll on hover. what changes need to be done in css or other files, please guide me script which is responsive

reference:https://css-tricks.com/examples/LongDropdowns/ i want scolling of list as in referred website mentioned above

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

2条回答 默认 最新

  • doulu8415 doulu8415 2015-10-06 06:59

    i dont know magento, but here looking like you have given scroll to your page. you need to set fix height of your menu and set vertical scroll to drop down so it will scroll only menu's in drop down otherwise whole page will scroll

    点赞 评论 复制链接分享
  • duancan1900 duancan1900 2015-10-06 14:01

    You can set width of <UL> (for example: 500px) and then set width of <li> under it to approx half of width of <UL>.

    You can take reference from http://www.gramercydrugs.com/ or http://www.welcaresupply.com/.

    Please let me know if you have any problem.

    点赞 评论 复制链接分享

相关推荐