Add the class
u-no-print to elements you want to hide when the page is printed.
Use your browser’s print preview to see the following example working.
To import just this utility into your project, copy the snippet below and include it in your main Sass file.
For more information see Customising Vanilla in your projects, which includes overrides and importing instructions.