Version 4.0.5
This update was launched on October 12th, 2021.
Changelog
- Fixed the announcement bar link option.
Manual update:
To manually add the code fix, please open the sections/announcement-bar.liquid file and replace this code - screenshot:
<announcement-bar class="announcement" {% unless section.settings.bar_link == blank %} href="{{ section.settings.bar_link | escape }}" {% endunless %}> <span class="announcement__text">{{ section.settings.bar_message | escape }}</span> </announcement-bar>
with this one:
<announcement-bar> {%- unless section.settings.bar_link == blank -%} <a class="announcement" href="{{ section.settings.bar_link | escape }}"> {%- else -%} <span class="announcement"> {%- endunless -%} <span class="announcement__text body-text-sm">{{ section.settings.bar_message | escape }}</span> {%- unless section.settings.bar_link == blank -%} </a> {%- else -%} </span> {%- endunless -%} </announcement-bar>