How to a add tooltip for expander text using CSS

we can add the ? using CSS by extending the standard tooltip

In the template file where we need to call the default data-toggle and style the class as shown below

<i data-toggle=“tooltip” class=“cart-summary-expander-tooltips”></i>

@extend .sc-tooltip;

.cart-summary-expander-tooltips{

@extend .sc-tooltip;

cursor: pointer;

color: #6EA8FE;

}

Leave a comment

Your email address will not be published. Required fields are marked *