Jump to content

Looking to have a Print button to print the current page

Recommended Posts

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 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 TrainerSquarespace 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 PluginsBook Live Help | Squarespace Video Tutorials | Buy Me a Coffee

Link to comment
  • 2 months later...
On 10/15/2023 at 6:21 AM, MPS_24 said:

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?

Screenshot 2023-10-14 181940.png

Add to Website Tools (under Not Linked) > Custom CSS

button[onClick] {
	background-color: #f8e761 !important;
	color: black !important;
	padding: 20px 30px !important;


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!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.