How can i enable mouse scroll up/down for attribute list
-
09-10-2020 - |
Решение
This can be done by css, in your attribute container you can set a height. To show the scrollbar, use overflow:scroll
so say you have a block like this:
<div>
<h1> Scrollbar</h1>
<ul>
<li>Test</li>
<li>Test</li>
<li>Test</li>
<li>Test</li>
<li>Test</li>
<li>Test</li>
<li>Test</li>
<li>Test</li>
<li>Test</li>
<li>Test</li>
<li>Test</li>
<li>Test</li>
</ul>
</div>
this would be the css:
ul{
max-height:100px;
overflow:scroll;
}
Не связан с magento.stackexchange