There is no option to add a close button when customising the theme, so I will have to add the code manually into the header.liquid file. But I am not sure where or what. Kindly assist.
Asked
Active
Viewed 305 times
-1
-
You need to have basic knowledge of CSS, HTML, and Javascript for it. – Onkar Feb 09 '22 at 10:48
1 Answers
0
you can add something like that on your header file:
<button type="button" class="text-link notification__close" id="NotificationPromoClose">
{% render 'icon-close' %}
<span class="icon__fallback-text">{{ 'cart.general.close_notification' | t }}</span></button>

ByGio1
- 111
- 2
- 12