https://empiricalwater.com/products/starter-kit
Dawn theme.
It would be pretty ideal to get this working on both desktop and mobile. Cheers
https://empiricalwater.com/products/starter-kit
Dawn theme.
It would be pretty ideal to get this working on both desktop and mobile. Cheers
Hi @empiricalarby ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above tag:
{% assign full_url = request.host | append: request.path %}
{% if full_url contains '/products/starter-kit' %}
{% endif %}
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you ![]()
Hi @empiricalarby ,
Here are the steps you can follow:
1, Navigate to Online Store > Themes > Edit Code.
2, Locate and open the theme.liquid file.
3, Paste the code snippet provided below right before the closing head tag, then save your changes.
Here is the result
We hope this assists in resolving the issue.
If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!
Nicely done!
You’re welcome! ![]()
Please replace the previous code snippet with this code snippet. The styling has been updated.
In the second image, the button was overlapped by the text because of its z-index, I’ve fixed that in the CSS style above!
Weirdly enough, the buy button isn’t sticky anymore. Any idea what’s causing that?
Hi there, maybe the HTML structure has changed a bit so the selector above didn’t work anymore. But here is the updated code for you
Here the buy button is sticky again
We hope this assists in resolving the issue.
If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!
PERFECTION!!