I am using a custom template and just added:
<span class="custom-tooltip">
<a href="#" class="tooltip-toggle">Test ?</a>
<span class="tooltip-content">Tolltip description come here</span>
</span>
and than added below style code in my theme styles-l.css
.custom-tooltip {
.lib-tooltip(right);
}
but its not working, am I doing wrong or missing.
Please suggest
2
Answers
Add following code is in less file
and run
bin/magento setup:upgrade
commandchecked in magento version 2.1.7 to magneto version 2.2.2
The code below can be just added to .phtml template: