Required customizations
This theme requires minor modifications to enable the featured product and ensure the sticky bar does not overlap the menu:
Sticky bar
Not sure how to edit your theme? Read this article first.
Add the following markup:
{% assign DiscountNinjaStickybarClass = "" %}
{% if template.name == "index" %}
{% assign DiscountNinjaStickybarClass = "limoniapps-discountninja-topmargin" %}
{% endif %}
Add the markup on the top of the header liquid:
Then copy the following markup:
{{ DiscountNinjaStickybarClass }}
And add the markup as indicated below:
Featured product
Not sure how to edit your theme? Read this article first.
Add the following markup:
data-limoniapps-discountninja-product-handle="{{product.handle }}"
Add the markup here:
Embedded code approach
If you prefer the flexibility of the embedded code approach, please refer to the articles listed here.
Found a compatibility issue with this theme? Let us know at [email protected] and our team of experts will review it.