Jump to content

Print button - printer friendly code?

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

11 minutes ago, ke_ said:

Does anyone have updated code to make 7.1 blog posts printer friendly? Thanks!

What is your issue with printer

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 11/12/2021 at 12:50 AM, ke_ said:

I'd like a reader-friendly version that will re-size content, reduce page spacing and eliminate extras like affiliate links and ads. 

Do you have a mockup? & link to a blog post on your site?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

I found this css code for a work-around on here for version 7.0, looking for similar for 7.1. 

@media print {

  /*resize the content*/
  .blog-item-content-wrapper {
    width:100% !important;
    margin:0px !important;
    padding:0px !important;
    color: #000;
    background-color: #fff;
  }

  /*hide a bunch of extra stuff*/
  #blogItemSidebarContent, .blog-item-actions, #header, #footer, #comments .header-controls, #comments .new-comment-area, .sqs-announcement-bar-dropzone, .sqs-frontend-overlay-editor-widget {
    display:none !important;
  }

  /*format the author profile*/
  .blog-item-author-profile--sidebar {
    margin-top:500px !important;
    display:block !important;
  }

  /*remove weird link formatting*/
  a::after {
    content: "" !important;
  }
  
  /*reduce page spacing*/
  #page {
    margin:0px !important;
  }
}
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.