On this page
What this issue is
A print stylesheet is a set of CSS rules that apply only when a page is printed or saved as PDF. You write them inside @media print { ... } or in a file linked with media="print". Without them, the browser reuses your screen styles on paper.
This matters most on pages people keep: the order confirmation, the invoice or receipt, booking confirmations and quotes. Customers print these for expenses, returns, warranty claims or accounting.
Why it costs you leads or sales
The direct impact is low. It will not stop a purchase. But a messy printout looks careless, and it creates support work.
- Support emails asking for a proper invoice or PDF.
- Order numbers, totals or VAT lines cut off at the page edge, so the document is not usable for accounting.
- Several wasted pages from sticky headers, cookie banners and chat widgets.
- Light text on a dark background that prints faint or burns ink.
- A weaker impression of the brand, which matters for B2B buyers who file the invoice.
- CheckoutCustomer pays
- Confirmation pageOrder shown on screen
- Print or save as PDFNo print styles applied
- Usable invoiceCut-off totals, extra pages
The purchase is complete, but the printed record is unusable.
How to check if your site has it
Open a real confirmation or invoice
Place a test order (use the store's test mode if you have it) or open an existing order page.
Open Print Preview
Press Ctrl+P (Windows/Linux) or Cmd+P (Mac). Look at every page in the preview.
Emulate print in DevToolsChrome
In Chrome, open DevTools, press Ctrl/Cmd+Shift+P, type 'Emulate CSS print media type' and run it. You can then inspect and edit print styles live.
Check the problem list
Look for menus, banners, chat bubbles, cut-off tables, missing order data, unreadable colours and blank extra pages.
Test Safari and Firefox too
Print engines differ slightly. Check at least one other browser and a Save as PDF run.
No print stylesheet
- Header, menu and footer fill the page
- Chat widget overlaps the totals
- Table runs off the right edge
- Four pages for a one-page order
With @media print
- Only logo, order details and totals
- Widgets and banners hidden
- Table fits the page width
- One clean page
How to fix it
The core fix is the same everywhere: add print CSS. What changes is where you put it and what your theme calls the elements to hide. Use your browser's inspector to find the real class names.
@media print {
/* Hide page chrome */
header, footer, nav,
.site-header, .site-footer,
.cookie-banner, .chat-widget,
.announcement-bar, .newsletter-popup,
.no-print, button, .btn {
display: none !important;
}
/* Readable, ink-friendly basics */
body {
background: #fff !important;
color: #000 !important;
font-size: 12pt;
}
a { color: #000; text-decoration: none; }
/* Use the full page width */
.container, main, .order-details {
width: 100% !important;
max-width: none !important;
margin: 0 !important;
padding: 0 !important;
}
/* Keep tables and rows together */
table { width: 100%; border-collapse: collapse; }
tr, td, th { page-break-inside: avoid; break-inside: avoid; }
thead { display: table-header-group; }
@page { margin: 15mm; }
}Use a child theme or Customizer
Go to Appearance > Customize > Additional CSS (classic themes) or Appearance > Editor > Styles > Additional CSS (block themes). Paste the print block.
WooCommerce pages
Inspect the order received page for the right selectors, such as
.woocommerce-orderand.woocommerce-order-details. Hide everything else inside@media print.
Edit theme CSS
Go to Online Store > Themes > Edit code. Add the block to your main stylesheet in Assets, such as base.css (name varies by theme).
Know the limits
The order status page and customer account pages may be controlled by checkout settings. If you cannot edit them, use a PDF invoice app or the packing slip and invoice templates under Settings > Shipping and delivery, depending on your setup.
Add custom code
In Page settings > Custom code (or Site settings), add a
<style>tag in the head with the print block.Add a no-print class
Give menus and popups a class such as
no-printand include it in the hidden list.
Use Custom Code
Under Settings > Custom code, add a
<style>snippet to the head of the relevant pages. Wix's generated class names can change, so prefer stable element IDs where you can.
Custom CSS panel
Go to Website > Website Tools > Custom CSS and paste the print block. Inspect the page to find the section IDs to hide.
Add CSS to the page or funnel
In the funnel or website page settings, open Custom Code or Tracking Code and add a
<style>block in the head with the print rules.
Add a print file
Link a separate file:
<link rel="stylesheet" href="/css/print.css" media="print">. Or place the block at the end of your main stylesheet.Offer a PDF too
For invoices, generate a server-side PDF and link it from the confirmation page and email. It is more reliable than browser printing.
How to confirm it's fixed
- Print Preview shows one clean page for a normal order.
- No header, menu, banner, popup or chat widget appears.
- Order number, date, items, tax and total are all visible and not cut off.
- Text is black on white and readable.
- A long order breaks onto a second page without splitting a row in half.
- Save as PDF works in Chrome and Safari or Firefox.
- The confirmation page on screen still looks the same.
How to prevent it happening again
Theme updates, new popups and new chat tools add elements your print rules do not know about. Add a print check to your release routine.
- Give every new banner, popup and widget the
no-printclass or a hide rule. - Keep print CSS in one place so it survives theme updates (a child theme or custom CSS panel).
- Print-preview the confirmation page after theme, checkout or plugin changes.
- Keep a PDF invoice option for B2B customers.
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. FunnelGuard runs your customer journeys with a robot visitor and checks steps, tracking hits and test leads. It does not review how a page looks when printed. A tool that fits is a visual or cross-browser testing tool that can render pages with print media emulation, or a manual Print Preview check as described above.
FunnelGuard can still help with the journey around it, for example checking that the checkout reaches the confirmation page and that purchase tracking fires. There is a free plan (1 site, 2 journeys, daily checks, no card).
Questions people ask
Why does my order confirmation print with the menu and footer?
Your page has no print stylesheet, so the browser applies your screen styles to paper. Add an @media print block that sets display: none on the header, footer, navigation, banners and chat widgets.
How do I make an invoice page print on one page?
Hide page chrome, remove fixed widths, set the content to full width and use a smaller print font such as 11 to 12pt. Then check Print Preview and adjust margins with @page { margin: 15mm; }.
How do I test print styles without printing?
Press Ctrl/Cmd+P to open Print Preview, or in Chrome DevTools run the command 'Emulate CSS print media type'. Both show the print layout without using paper.
Why is my table cut off when printing?
The table or its container has a fixed width wider than the paper, or it sits in a scrolling wrapper. In print CSS set width: 100% on the table and max-width: none and overflow: visible on the wrapper.
Is a missing print stylesheet bad for SEO?
No. Search engines do not use print styles for ranking. The impact is on customer experience and support load, mainly for people who print or save invoices.
Should I use a print stylesheet or a PDF invoice?
A PDF generated on the server is more reliable and is better for accounting. A print stylesheet is a quick improvement for anyone who prints the page directly, and you can offer both.
Can FunnelGuard check my print layout?
No. Print layout is outside what FunnelGuard checks. Use a manual Print Preview test or a visual or browser testing tool that supports print emulation.
Related issues
- PRF-205High-DPI/zoom 200% breaks layoutFix guide
- PRF-191Page broken in Safari (iOS/macOS)Fix guide
- PRF-192Page broken in FirefoxFix guide
- PRF-201Dark mode (prefers-color-scheme) makes text invisibleFix guide
- PRF-200Form autofill styles hide text in Chrome/SafariFix guide
- PRF-193Page broken in Samsung InternetFix guide