Tuts+ is Now Print-tastic!

DiggThis

Those of you who like to follow tutorials on paper while you code will be pleasantly surprised today: we’ve added a print stylesheet to the Tuts+ theme. This means that if you navigate to a tutorial and click File > Print in your browser menu-bar the final product will be free of all the extra stuff (sidebars, comments, and so on). We hope you enjoy the new feature and encourage you to try it out!

Related Posts

Add Comment

Discussion 34 Comments

  1. Thomas says:

    I’m probably not gonna use this feauture but I can see this be helpful to other people.

  2. Raul Riera says:

    A tutorial about doing this would be nice :)

  3. Derek Herman says:

    I created the print.css for all the sites and it really is all about making things like the navigation and sidebar disappear using display: none; and then playing with the header sizes and what not. There is not a lot too it and it would be a very short tut.

    You could always just looking at the print.css file and see how things are hidden in there.

  4. Synook says:

    This is good… but why is the login box still appearing in the print style? I understand about the TUTS+ advert, but you can’t type on paper…

  5. Hev says:

    Great. I love that. It will make my printing & pdfs (I save them to pdfs for later printing) much smaller. Thanks.

  6. techietim says:

    The Digg button is also included when printing.

  7. Raul Riera says:

    @Derek,

    Thank you, I will give that a try

  8. John says:

    People still print stuff?

    All joking aside, you ought to show the introductory text in the print stylesheet. I hit print preview in Firefox 3, and only the heading shows, which is pretty useless, if you ask me.

    Other than that, good work on it – I’m sure it’ll save some paper by not having a separate page for the sidebar and stuff like that.

  9. Furley says:

    im surprised this is happening now

    • Derek Herman says:

      There was another print.css previous to this one, but it was causing weird things to happen and with so much development happening at once, it got put on the back burner and forgotten sadly.

  10. Dan Harper says:

    I actually feel quite stupid now. I’ve always found it difficult following a tutorial as I only have one screen; never even thought of printing them!
    Going to try it out later today, thanks :)

  11. The Mafalian says:

    thank a lot its really usefull

  12. Mike says:

    A verry nice option. But I advise to change the font in the print stylesheet.
    Times new Roman isn’t a good reading font.

  13. You should show an example, of this in a pdf even if its just dumby text.

  14. YAY easy pdf printing! however i disagree on not having the comments print some times there are code corrections to be found in them or something better explained or links to different examples others have done. it isn’t always “wow what a great tut!” Let me decide if i want the comments by setting number of pages to print. just my humble opinion.

  15. 2 other small things
    1:”view plain” “copy” “print” and “?” are showing up.
    2: and probably the thing i care more about. outside of the numbering the code doesn’t stand out. maybe a shade of gray and/or different size font?

  16. invisibleloop says:

    Great for people who love using their yellow highlighter pen, but not great for the environment…

  17. We are cool says:

    Please think of all those pretty trees before printing these tutorials! (A)

  18. Meshach says:

    Good job envato.

  19. michael says:

    nice one.. i often print something .. you never know, when a site went down or a system crash kills everything ;)

  20. Evan Byrne says:

    Yippie! Wait a second, isn’t this something you would just expect to be done?

    I shouldn’t be the one to talk though, my personal website doesn’t have a print stylesheet… Yet. :-P

  21. Paul Morales says:

    Nice, That makes things very convenient :) Thanks

  22. Jeraldo says:

    Hey this is great. I hope you write a tutorial on how to do this kind of stuff! Thanks

  23. I never thought to print it out. I think i might try that over Command-Tab

  24. Bird Yoshikawa says:

    I have a two 2-hour train rides everyday, and no laptop (I have an elaborate desktop setup and no extra cash). This function is VERY helpful. Sorry to the tree huggers. As for printing the comments, I’m not sure if thomaswornall tried to print from this website before – I understand your point, but it’s literally 5 pages of content and 42 pages of comments. You really never ever want to print the comments.

    Again, VERY useful, and thank you.

  25. Chaos says:

    Paper is always better :)

Add a Comment