Microsoft Office Tutorials and References
In Depth Information
Adding the New Design to Drupal
text-align: right;
text-align: left;
font-size: 13px;
font-size: 12px;
#invmain th
background: #CC0000;
In the code above I've just added the CSS inline, but we could have also edited the
CSS file for the printable invoice, which is located in sites/default/modules/
ecommerce/store/invoice.css , or the style.css file in the themes folder, which
can override these styles.
Non-Printable Invoice CSS
The customer can also view invoices (for transactions and for invoices
created using that module). The customer view of the invoice, however,
does not import the styles we have included there (as the head part of
the document is only included on the printable copy, as determined by
the: if ($print_mode) section of the code). So we may need to edit the
section of the code). So we may need to edit the
CSS file used by the main theme if we want to have the same design for
customer invoices. The file we should add the CSS details to is /sites/
default/modules/ecommerce/store/store.css .
The next bit that we need to change is the main content of the invoice; we need to
change it from its original code:
$output .= <<<EOD
Search JabSto ::

Custom Search