Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I make the font size bigger on invoices?


onesixthdepot

Recommended Posts

The font settings should be found in your /catalog/stylesheet.css file.

 

Easiest way I found to identify which is which, is to view the html page source of your displayed invoice (or other page). View --> Page Source CTRL+U (example for Firefox). Then, simply do a search for the literal text that you want to display.

 

For example

<td valign="top" align="right" class="smallText">Sub-Total:</td>

 

This identifies that the "Sub-Total" text is using the attributes defined in the "smallText" section of your stylesheet.css file.

 

MAKE A BACKUP (stylesheet.css and invoice.php for example) FIRST!

 

Since "smallText" may be used on other pages within your store, you may or may not want to globally affect all of those. When I modified my invoice.php file, I created a new class (InvoiceSmallText) by copying the original smallText class, made the desired modifications (font size, weight, etc), and then modified the desired references within invoice.php to reflect the new class="InvoiceSmallText".

 

Have fun!

Link to comment
Share on other sites

/catalog/stylesheet.css file.

Wrong stylesheet. You want the one in admin/includes/stylesheet.css. The classes you want to chage are

 

.main

.smallText

.dataTableHeadingContent

.dataTableContent

 

None of those will affect anything on your catalog side. Just make sure to make a backup and to upload it back to your admin side, NOT YOUR CATALOG side.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...