Is it possible to make certain elements not printable?

Is it possible to make certain elements not printable ?

Thanks !

André

add this css to the page:

<style>
@media print
{    
    #no-print, #no-print *
    {
        display: none !important;
    }
}
</style>

And in ID Attribute, put no-print on the element you don’t want to print.

Editor example here: https://bubble.io/page?type=page&name=printtest&id=sandboxjc&test_plugin=1578859619702x716325042519801900_current&tab=tabs-1

3 Likes

Thanks a lot @Jici
:wink:

1 Like

HI Ive used this very handy facility to exclude stuff from page printing.
I’m printing the contents of a landscape Popup containing timesheet data for an individual, however when I issue a printout, I also get 21 othe blank pages (“presumably from the underlying main page”) How would I removed that or even know what’s causing that ??
should I add the no-print attribute to every possible to stop these white pages …
thanks in advance