Kalie Posted October 9 Posted October 9 (edited) Is there a way to add a second button to the navigation menu? My goal is to position it on the left side in desktop and stacked in mobile. An alternative would be positioning it next to the existing button. (I've included some screenshots for reference.) I'd like to utilize the site's existing button styles if possible. Some background – the client originally asked to include a Google Reviews graphic in the menu, linking to their Google My Business profile. I figured a button/link would be easier but I might be wrong. I tried 6+ different tutorials with no luck. Any recommendations would be greatly appreciated! Edited October 15 by Kalie
CassAggett Posted October 9 Posted October 9 (edited) @Kalie Check out this post (EDIT: Looks like the Inside the Square link in the linked post has been updated - you can find it here, then see additional code in the post if needed): Edited October 9 by CassAggett Instruction: How to set a site-wide password If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆 Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business. WEBSITE • INSTAGRAM
Solution tuanphan Posted October 13 Solution Posted October 13 You can use this code to Website Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script> $(document).ready(function(){ $('<a class="btn btn2 btn--border theme-btn--primary-inverse sqs-button-element--primary" href="/contact">Contact Me</a>').prependTo('.header-display-desktop'); }); </script> mirjamhlastan 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
mirjamhlastan Posted October 14 Posted October 14 @Kalie additional resource is also a free code snippet from GhostPlugins. You can find it here! I've used a lot of plugins and custom templates from GhostPlugins and they are simple and easy to apply, have clear step-by-step instructions, and even the code is written in a way that you know exactly where the specific plugin code starts and ends which is very helpful especially when you have a long piece of code to work with. Hope this helps 🙂 Cheers from Berlin, Mirjam Hedgiemon and MeaganH 2
Kalie Posted October 15 Author Posted October 15 @CassAggett @tuanphan @mirjamhlastan thank you so much! CassAggett and mirjamhlastan 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment