In the new order printer, the bold font is extra-heavy when there are multiple rows of products.
For example, if the order is of just one product, the page prints nicely with the bold font looking normal.
If the order contains multiple products, the bold font becomes extra heavy.
What could be causing this? Below is the code:
body { font-family: 'Lato'; font-weight: 400; } {% assign primary_font = "Lato"%} {% assign primary_font_color = "#000000" %} {% assign primary_font_size = "12px"%} {% assign secondary_font = "Lato"%} {% assign secondary_font_color = "#333333" %} {% assign theme_color = "#303336"%} /* ### BASE - PAGE SIZING AND MARGIN SETUP NORMALIZATION ACROSS BROWSERS ### */ @Page { margin: 12mm !important; margin-top: 12mm !important; margin-right: 12mm !important; margin-bottom: 12mm !important; margin-left: 12mm !important; } @media print { .safari { padding-top: 15px; box-sizing: border-box; } .printer-preview-content .printer-preview-content { padding-left: 15px; padding-right: 15px; box-sizing: border-box; } } @media screen { .printer-preview-content { padding: 16px 0; min-height: 800px; /* background-image: url([http://basehold.it/i/16](http://basehold.it/i/16)) */ } .printer-preview-content .printer-preview-content { margin-right: auto; margin-left: auto; max-width: 680px; } } @media screen, print { /* ### BASE - TYPOGRAPHY AND REMOVAL OF STANDARD SHOPIFY STYLING ### */ .printer-preview-content .t62054 * { color: { {secondary_font_color }}; font-family: '{{ primary_font }}'; font-size: {{ primary_font_size}}; font-weight: 400; line-height: 16px; text-rendering: optimizeLegibility; margin: 0 0 0 0; padding: 0 0 0 0; -webkit-print-color-adjust: exact; overflow: visible !important; } .printer-preview-content .t62054 h1 { font-size: 28px; font-weight: 400; line-height: 32px; } .printer-preview-content .t62054 h2 { font-size: 18px; line-height: 32px; } .printer-preview-content .t62054 h3 { font-size: 14px; line-height: 16px; } .printer-preview-content .t62054 h1, .printer-preview-content .t62054 h2, .printer-preview-content .t62054 h3 { margin-bottom: 16px; } .printer-preview-content .t62054 a, .printer-preview-content .t62054 a * { text-decoration: none !important; } .printer-preview-content .t62054 b, .printer-preview-content .t62054 b * { font-weight: 600; } .printer-preview-content .t62054 .text-right { text-align: right; } .printer-preview-content .t62054 .text-center { text-align: center; } .printer-preview-content .t62054 .no-wrap { white-space: nowrap; } /* ### BASE - GRID AND RE-USABLE LAYOUT COMPONENTS ### */ .printer-preview-content .t62054 .row { width: 100%; display: block; clear: both; } .printer-preview-content .t62054 .row:after { content: ""; display: table; clear: both; } .printer-preview-content .t62054 .col-xs-1, .printer-preview-content .t62054 .col-xs-2, .printer-preview-content .t62054 .col-xs-3, .printer-preview-content .t62054 .col-xs-4, .printer-preview-content .t62054 .col-xs-5, .printer-preview-content .t62054 .col-xs-6, .printer-preview-content .t62054 .col-xs-7, .printer-preview-content .t62054 .col-xs-8, .printer-preview-content .t62054 .col-xs-9, .printer-preview-content .t62054 .col-xs-10, .printer-preview-content .t62054 .col-xs-11, .printer-preview-content .t62054 .col-xs-12 { float: left; min-height: 1px; margin-bottom: 32px; } .printer-preview-content .t62054 .col-xs-12 { width: 100%; } .printer-preview-content .t62054 .col-xs-11 { width: 91.66666667%; } .printer-preview-content .t62054 .col-xs-10 { width: 83.33333333%; } .printer-preview-content .t62054 .col-xs-9 { width: 75%; } .printer-preview-content .t62054 .col-xs-8 { width: 66.66666667%; } .printer-preview-content .t62054 .col-xs-7 { width: 58.33333333%; } .printer-preview-content .t62054 .col-xs-6 { width: 50%; } .printer-preview-content .t62054 .col-xs-5 { width: 41.66666667%; } .printer-preview-content .t62054 .col-xs-4 { width: 33.33333333%; } .printer-preview-content .t62054 .col-xs-3 { width: 25%; } .printer-preview-content .t62054 .col-xs-2 { width: 16.66666667%; } .printer-preview-content .t62054 .col-xs-1 { width: 8.33333333%; } .printer-preview-content .t62054 .col-no-margin { margin-bottom: 0 !important; } .printer-preview-content .t62054 .clear-fix { clear: both; } .printer-preview-content .t62054 .half-margin-top { margin-top: 8px !important; } .printer-preview-content .t62054 .half-margin-bottom { margin-bottom: 8px !important; } .printer-preview-content .t62054 .margin-bottom { margin-bottom: 16px !important; margin-top: 1px; } .printer-preview-content .t62054 .margin-top { margin-top: 16px !important; } .printer-preview-content .t62054 .double-margin-top { margin-top: 32px !important; } .printer-preview-content .t62054 .double-margin-bottom { margin-bottom: 32px !important; } .printer-preview-content .t62054 .strikethrough { text-decoration: line-through !important; } /* ### BASE - TABLE STYLING ### */ .printer-preview-content .t62054 table, .printer-preview-content .t62054 .table { width: 100%; max-width: 100%; background-color: transparent; border-collapse: collapse; } .printer-preview-content .t62054 table thead { display: table-row-group; } .printer-preview-content .t62054 table tbody tr { page-break-inside: avoid !important; page-break-after: auto !important; } .printer-preview-content .t62054 table tbody tr td { page-break-inside: avoid !important; } .printer-preview-content .t62054 th { white-space: nowrap; text-align: left; vertical-align: middle; border-top: 0; border-bottom: 0; } .printer-preview-content .t62054 td { vertical-align: middle; border-top: 0; border-bottom: 0; } .printer-preview-content .t62054 .order-table tbody>tr:nth-child(odd) td { background-color: #f9f9f9; } .printer-preview-content .t62054 .pricing-table tbody>tr:nth-child(even)>td { background-color: #f9f9f9; } /* .printer-preview-content .t62054 .pricing-table tbody > tr > td.pricing-table-title { word-break: break-all; }*/ .printer-preview-content .t62054 th.order-table-qty { width: 10%; } .printer-preview-content .t62054 th.order-table-price { width: 10%; } .printer-preview-content .t62054 th.order-table-item-total, .printer-preview-content .t62054 th.order-table-reason { width: 17%; } .printer-preview-content .t62054 th.order-table-return-comments { width: 30%; } .printer-preview-content .t62054 .pricing-table-text { text-align: right; white-space: nowrap; } /* ### BASE - PRODUCT IMAGE SIZING TO RETAIN LINE HEIGHT RYTHM) ### */ .printer-preview-content .t62054 .product-image-wrapper { width: 64px; max-height: 64px; } .printer-preview-content .t62054 .product-image { padding: 0 4px; page-break-inside: avoid !important; max-width: 64px; } /* ### BASE - LISTS RESET ### */ .printer-preview-content .t62054 ul { list-style: none; } .printer-preview-content .t62054 li { color: {{ secondary_font_color }}; list-style: none; } /* ### BASE - LOGO ### */ .printer-preview-content .t62054 .logo-wrapper { display: inline-block; width: 100%; padding-bottom: 8px; } .printer-preview-content .t62054 .logo { float: left; padding-right: 15px; max-width: 100%; max-height: 188.0px; } /* ### BASE - BARCODE ### */ .printer-preview-content .t62054 .order-number-barcode, .printer-preview-content .t62054 .product-barcode { display: block; } /* ### BASE - ADDITONAL COMMON SHARED TYPOGRAPHY AND ALIGNMENT ### */ .printer-preview-content .t62054 .address { margin-right: 5%; } .printer-preview-content .t62054 .col-xs-8 .notes, .printer-preview-content .t62054 .col-xs-6 .notes { margin-right: 20%; } .printer-preview-content .t62054 .notes-title, .printer-preview-content .t62054 .return-codes { margin: 8px 0; } /* ### BASE - HORIZONTAL RULE MARKS ### */ .printer-preview-content .t62054 hr { background: {{ theme_color }}; border-top: 0; border: 0; height: 2px; width: 100%; margin-bottom: -2px; } } @media screen, print { /* ### DESIGN SPECIFIC - TYPOGRAPHY ### */ .printer-preview-content .t62054 h1 { font-family: '{{ secondary_font }}'; color: {{ primary_font_color }}; font-weight: 600; } .printer-preview-content .t62054 h2 { font-family: '{{ secondary_font }}'; color: {{ primary_font_color }}; } .printer-preview-content .t62054 h3 { font-family: '{{ secondary_font }}'; color: {{ primary_font_color }}; } /* ### DESIGN SPECIFIC - LOGO POSITIONING ### */ .printer-preview-content .t62054 .logo { float: right; padding-right: 0; margin-bottom: 16px; } /* ### DESIGN SPECIFIC - STORE DETAILS ### */ .printer-preview-content .t62054 .shop-block { text-align: center; } .printer-preview-content .t62054 .shop-block .shop-address-block b, .printer-preview-content .t62054 .shop-block .shop-address-block b * { color: {{ primary_font_color }}; } .printer-preview-content .t62054 .shop-block .shop-domain { font-weight: 600; } .printer-preview-content .t62054 .shop-return-address b, .printer-preview-content .t62054 .shop-return-address b * { color: {{ primary_font_color }}; } /* ### DESIGN SPECIFIC - ORDER DETAILS ### */ .printer-preview-content .t62054 .order-details-title { display: inline-block; font-weight: 600; color: {{ primary_font_color }}; } /* ### DESIGN SPECIFIC - BILL TO AND SHIP TO ADDRESS ### */ .printer-preview-content .t62054 .address-title { font-weight: 600 ; color: {{ primary_font_color }}; } /* ### DESIGN SPECIFIC - TABLE HEADER ### */ .printer-preview-content .t62054 .order-table thead tr th { padding-left: 4px; padding-right: 4px; border-top: 2px solid {{ theme_color }}; padding-top: 6px; border-bottom: 2px solid {{ theme_color }}; padding-bottom:6px; font-weight: 600; } /* ### DESIGN SPECIFIC - TABLE BODY (SHARED) ### */ .printer-preview-content .t62054 .order-table tbody tr td, .printer-preview-content .t62054 .pricing-table tbody tr td { padding-left: 4px; padding-right: 4px; border-top: 0; padding-top: 8px; border-bottom: 1px solid #efefef; padding-bottom: 7px; } /* ### DESIGN SPECIFIC - ORDER TABLE SPECIFIC ### */ .printer-preview-content .t62054 .order-table tbody>tr>td.line-item-description, .printer-preview-content .t62054 .order-table tbody>tr>td.line-item-qty { font-weight: 600; color: {{ primary_font_color }}; } .printer-preview-content .t62054 .order-table tbody>tr>td.line-item-description p.line-item-sku { font-weight: normal; } /* ### DESIGN SPECIFIC - PRICING TABLE SPECIFIC ### */ .printer-preview-content .t62054 .pricing-table tbody>tr.pricing-table-total-row>td { border-top: 2px solid {{ theme_color }}; border-bottom: 2px solid {{ theme_color }}; padding-bottom:6px; } .printer-preview-content .t62054 .pricing-table tbody>tr>td.pricing-table-title, .printer-preview-content .t62054 .pricing-table tbody>tr>td.pricing-table-title span { font-weight: 600; color: {{ primary_font_color }}; } .printer-preview-content .t62054 .pricing-table tbody>tr.pricing-table-total-row .pricing-table-title, .printer-preview-content .t62054 .pricing-table tbody>tr.pricing-table-total-row .pricing-table-text { font-weight: 600; color: {{ primary_font_color }}; } /* ### DESIGN SPECIFIC - ORDER NOTES ### */ .printer-preview-content .t62054 .notes-title { font-weight: 600; color: {{ primary_font_color }}; } /* ### DESIGN SPECIFIC - RETURN FORM REASON CODES ### */ .printer-preview-content .t62054 .return-codes b, .printer-preview-content .t62054 .return-code b * { font-weight: 600; color: {{ primary_font_color }}; } /* ### DESIGN SPECIFIC - THANK YOU MESSAGE ### */ .printer-preview-content .t62054 .thanks-text { text-align: center; font-weight: 600; color: {{ primary_font_color }}; } .printer-preview-content .t62054 .thanks-text * { font-weight: 600; color: {{ primary_font_color }}; } /* ### DESIGN SPECIFIC - GIFT MESSAGE ### */ .printer-preview-content .t62054 .gift-text { text-align: center; font-weight: 600; width: 80%; margin: 0 10%; padding-bottom: 16px; font-size: 18px; } .printer-preview-content .t62054 .gift-text * { font-weight: 600; font-size: 18px; } .printer-preview-content .t62054 .gift-text svg { padding-bottom: 8px; } /* ### DESIGN SPECIFIC - TERMS AND CONDITIONS ### */ .printer-preview-content .t62054 .terms-text { font-size: 10px; text-align: center; } .printer-preview-content .t62054 .terms-text * { font-size: 10px; } /* ### DESIGN SPECIFIC - SOCIAL ICONS ### */ .printer-preview-content .t62054 .social-icons { display: inline; width: 20px; margin: 8px 4px; } }Tax Invoice
- Invoice No. {{order.order_name }}
- Order Date {{order.created_at | date: "%B %d, %Y" }} {% assign transaction_text = "" %} {% for transaction in transactions %} {% if transaction.status != "failure" and transaction.status != "error" %} {% if transaction.kind == "authorization" or transaction.kind == "sale" %} {% if transaction.payment_details.credit_card_number %} {% capture t_text %}{{ transaction.payment_details.credit_card_company }} ({{ transaction.payment_details.credit_card_number | replace: " ", "" | replace: "•", ""}}){% endcapture %} {% else %} {% capture t_text %}{{ transaction.gateway | replace: "_", " " | capitalize }}{% endcapture %} {% endif %} {% unless transaction_text contains t_text %} {% if transaction_text != blank %} {% assign transaction_text = transaction_text | append: ", " %} {% endif %} {% assign transaction_text = transaction_text | append: t_text %} {% endunless %} {% endif %} {% endif %} {% endfor %} {% if transaction_text != blank and transaction_text != "manual" %}
- Payment {{ transaction_text }} {% endif %}
- Shipping {{order.shipping_method.title }}
-
{% if billing_address and billing_address != blank %}
- {{ billing_address.name }} {% if billing_address.company != blank %}
- {{ billing_address.company }} {% endif %}
- {{ billing_address.address1 }} {% if billing_address.address2 != blank %}
- {{ billing_address.address2 }} {% endif %}
- {{ billing_address.city }}, {% if billing_address.province_code != blank %}{{ billing_address.province_code }}{% else %}{{ billing_address.province }}{% endif %} {{ billing_address.zip | upcase }} {% if shop.country != billing_address.country %}
- {{ billing_address.country }} {% endif %} {% elsif customer != blank and customer.default_address != blank %}
- {{ customer.name }} {% if customer.default_address.company != blank %}
- {{ customer.default_address.company }} {% endif %}
- {{ customer.default_address.address1 }} {% if customer.default_address.address2 != blank %}
- {{ customer.default_address.address2 }} {% endif %}
- {{ customer.default_address.city }}, {% if customer.default_address.province_code != blank %}{{ customer.default_address.province_code }}{% else %}{{ customer.default_address.province }}{% endif %} {{ customer.default_address.zip | upcase }} {% if shop.country != customer.default_address.country %}
- {{ customer.default_address.country }} {% endif %} {% elsif customer != blank %} {% if customer.name != blank %}
- {{ customer.name }} {% endif %} {% if customer.email != blank %}
- {{ customer.email }} {% endif %} {% endif %}
-
{% if order.shipping_address and order.shipping_address != blank %}
- {{ order.shipping_address.name }} {% if order.shipping_address.company != blank %}
- {{order.shipping_address.company }} {% endif %}
- {{ order.shipping_address.address1 }} {% if order.shipping_address.address2 != blank %}
- {{ order.shipping_address.address2 }} {% endif %}
- {{ order.shipping_address.city }}, {% if order.shipping_address.province_code != blank %}{{ order.shipping_address.province_code }}{% else %}{{ order.shipping_address.province }}{% endif %} {{ order.order.shipping_address.zip | upcase }} {% if shop.country != order.shipping_address.country %}
- {{ order.shipping_address.country }} {% endif %} {% endif %}
| Item Description | Qty | Price | Total | |
|---|---|---|---|---|
| {% if line_item.image != blank %} |
{{ line_item.title | replace: " - Default Title", "" }} {% if line_item.sku != blank %}{{ line_item.sku }} {% endif %} {% for p in line_item.properties %} {% assign p_internal = p.first | slice: 0 %} {% unless p.first contains "builder_id" or p.first contains "builder_info" or p.first contains "master_builder" or p_internal == "_" or p.last == "" or p.last == blank %} {% if p.last contains "/uploads/" or p.last contains ".png?" or p.last contains ".jpg?" %}{{ p.first }}: {{ p.first }}: {{ p.last | newline_to_br }} {% endif %} {% endunless %} {% endfor %} |
× {{ non_refunded_quantity }} |
{% if line_item.variant.price and line_item.variant.price > adjusted_item_price %}
{% assign original_price = line_item.variant.price %}
{% elsif line_item.variant.compare_at_price and line_item.variant.compare_at_price >
adjusted_item_price %}
{% assign original_price = line_item.variant.compare_at_price %}
{% elsif line_item.total_discount and line_item.total_discount > 0 %}
{% assign original_price = line_item.total_discount | divided_by: line_item.quantity |
plus: adjusted_item_price %}
{% else %}
{% assign original_price = 0 %}
{% endif %}
{% if original_price > 0 and original_price > adjusted_item_price %}
{{ adjusted_item_price | money }} |
{{ adjusted_line_price | money }} |
| Discount | -{{ total_discounts | money }} |
| Subtotal | {{ order.subtotal_price | money }} |
| Shipping | {{order.shipping_price | default: 0 | money }} |
| GST (10%) | {{ order.tax_price | money }} |
| Total | {{ order.total_price | money }} |
| Refund | -{{ transaction.amount | money }} |
Thanks for your business!
If you have any questions, please get in contact.