Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Print stylesheet missing on order confirmation: how to fix it

PRF-204Low impactOther toolBy FunnelGuardPublished Updated
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.

What a bad printout causes
  • 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.
Where print styling fails in the order journey
  1. CheckoutCustomer pays
  2. Confirmation pageOrder shown on screen
  3. Print or save as PDFNo print styles applied
  4. Usable invoiceCut-off totals, extra pages

The purchase is complete, but the printed record is unusable.

How to check if your site has it

Test the print layout
  1. 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.

  2. Open Print Preview

    Press Ctrl+P (Windows/Linux) or Cmd+P (Mac). Look at every page in the preview.

  3. 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.

  4. Check the problem list

    Look for menus, banners, chat bubbles, cut-off tables, missing order data, unreadable colours and blank extra pages.

  5. Test Safari and Firefox too

    Print engines differ slightly. Check at least one other browser and a Save as PDF run.

Printout before and after

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.

Starter print stylesheet (adjust the selectors to your theme)css
@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; }
}
Where to add the print CSS
  1. 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.

  2. WooCommerce pages

    Inspect the order received page for the right selectors, such as .woocommerce-order and .woocommerce-order-details. Hide everything else inside @media print.

How to confirm it's fixed

Print check
  • 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.

Habits that keep it working
  • Give every new banner, popup and widget the no-print class 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.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.