Print button options

Permalink
Hello everyone.

I need to make a few changes to my site, one of them add a print button to blog posts, Im stuck here, I found some add-on but they arent for the 5.7 version.

don have idea if I can add that button manually.

thanks

View Replies:
c5dragon replied on at Permalink Reply
c5dragon
With some simple code you can do it yourself:
<button onclick="myFunction()">Print this page</button>
<script>
function myFunction() {
    window.print();
}
</script>

Or something which uses a different stylesheet on print:
https://css-tricks.com/quick-tip-making-a-print-this-page-button/...

Depends on the sites setup how and where to add.
Adding it to a custom blogpost template file of page default is the easiest.