[英]How to add a sidebar widget before layered navigation filter in magento 2
分配给侧栏的小部件(来自admin)在过滤器之后出现,是否可以将其向上推?
It might be added in Sidebar Additional . 可以在补充工具栏中添加它 。 so you will have to move the side bar additional before the Sidebar Main .
因此您必须在侧边栏Main之前将侧边栏另外移动。 Add this line in your xml file.
在您的xml文件中添加此行。
<move element="div.sidebar.additional" destination="columns" before="div.sidebar.main" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.