User interface 如何在Magento 2中添加工具提示
我正在使用自定义模板,刚刚添加:User interface 如何在Magento 2中添加工具提示,user-interface,magento,magento2,User Interface,Magento,Magento2,我正在使用自定义模板,刚刚添加: <span class="custom-tooltip"> <a href="#" class="tooltip-toggle">Test ?</a> <span class="tooltip-content">Tolltip description come here</span> </span> 但它不起作用,我做错了还是错过了 请建议在较少的文件中添加以下代码 .cu
<span class="custom-tooltip">
<a href="#" class="tooltip-toggle">Test ?</a>
<span class="tooltip-content">Tolltip description come here</span>
</span>
但它不起作用,我做错了还是错过了
请建议在较少的文件中添加以下代码
.custom-tooltip {
.lib-tooltip(right);
}
然后运行bin/magento安装程序:升级命令
已将magento 2.1.7版签入magneto 2.2.2版,其中需要添加此CSS的文件更少?@senthil page.lessthanks,现在它可以工作了,但对于移动设备,它不能工作。因此,我需要补充什么
.custom-tooltip {
.lib-tooltip(right);
}