Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Can a link be placed in the announcement bar in the header (or something like that) which allows the visitor to sign up for the subscriber list while staying on the page? This would be similar to the feature in the footer. I'm not interested in installing an app. I've selected the CSS label (required to post) because I'm thinking that code could be added to Online Store > Customize > Announcement bar > Custom CSS, but that seems like over kill. I thought about including a link which jumps down the page to a an email signup section, but it seems like this would not work since this is not on all pages or is a different destination for each page. I'm not a coder. I’m using the Sense 9.0 theme. The store is at https://carpentercore.com Any ideas for a straight forward solution would be most appreciated.
Solved! Go to the solution
This is an accepted solution.
This feedback was a big help. Especially understanding what is not practical for my purposes. I decided to turn off the announcement bar and add an email signup section at the top of the relevant pages. With your help I was able to figure out that I can have some simple custom liquid written and add it to the header. I tested it and it would work. I prefer sticking with system solutions first, clean simple code second, and the use of apps as a last resort. The reasoning being to A. minimize the complexity of subsequent changes. B. minimize negatively impacting page load speeds.
You will not get a signup box in the header unless you have one of the following:
Custom CSS is for CSS display changes not for custom code.
How about creating a separate page where visitors can sign up, and then adding that link to the announcement bar for easy access? Might that work?
This is an accepted solution.
This feedback was a big help. Especially understanding what is not practical for my purposes. I decided to turn off the announcement bar and add an email signup section at the top of the relevant pages. With your help I was able to figure out that I can have some simple custom liquid written and add it to the header. I tested it and it would work. I prefer sticking with system solutions first, clean simple code second, and the use of apps as a last resort. The reasoning being to A. minimize the complexity of subsequent changes. B. minimize negatively impacting page load speeds.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024