Magento – Tried styling order print page, but css is not active. What do i do wrong

ce-1.9.0.1cssprint

So a customer registers and creates an account. They order something (at least, they should ;-))

After that they can visit their My Account > My Orders and select to print an order, shipment or whatever is in there.

When this action is performed on screen you are presented with the e.g. invoice (and a print dialog)

i added styling for this page to custom.css but it is not used.

Where would i need to do this or do i need to add something in a certain file?

Thanks

Best Answer

You can add your custom css to print layout handle in a custom layout.xml or the sales.xml for example:

<sales_order_print>
    <reference name="head">
        <action method="addItem"><type>skin_css</type><name>css/custom_print.css</name></action>
    </reference>
</sales_order_print>
Related Topic