MPS_24 Posted October 14 Share Posted October 14 I've tried so many code options and it worked one time, but then stopped and I'm not sure how to get the right code to just print this page using the print button. Hoping someone might be able to help assist. Link to comment
Vigasan Posted October 14 Share Posted October 14 (edited) Add a code block anywhere you want the button to appear, and add this inside. <button onClick="window.print()">Print</button> You can also add classes to the button if you want to style it like your Squarespace buttons. Edited October 14 by Vigasan If an answer I provide helps you, please mark it as the answer so others can easily access it as well. I'm a Squarespace Authorized Trainer, Squarespace Expert, and Circle Member and I've been helping my clients as well as those here in the forum and in various Squarespace groups with custom coding and support for Squarespace websites. I would love to help you in any way I can. Squarespace Plugins | Book Live Help | Squarespace Video Tutorials | Buy Me a Coffee Link to comment
MPS_24 Posted October 14 Author Share Posted October 14 THANK YOU so much, that did give me a print button. I hate to ask, but do you mind sharing how I would add the classes to it to make it look and feel like my other buttons? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment