Jump to content

Print button - printer friendly code?

Recommended Posts

  • Replies 4
  • Views 426
  • 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, 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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.