I'm using Dawn template, and I want to add a customised button in announcement bar - Dawn template. This button should contains text and put in the left hand side. I know i need to use code to achieve this, but dont know how exactly write them.
Also: can you also let me know how to add a customised button in Header as well?
This is an advanced customization beyond the scope of the forums as it's two code areas and layout styling, hire someone if your unfamiliar with code.
💣Always backup themes before changing files.
Crudely that is the file sections/announcement-bar.liquid
And to be at the end a button would be put around line 217 before one of the closing </div>'s.
similarity for the header https://github.com/Shopify/dawn/blob/main/sections/header.liquid#L338
Test thoroughly as you are cramming more things into areas not designed for them.
If you need this customization then contact me by my email for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Dive into the world of Print-on-Demand and discover how it can transform your online busin...By Imogen Feb 19, 2024
Discover how to transform your online store into a delightful shopping destination. Learn ...By Ollie Feb 13, 2024