[InvoiceOcean — Support](https://help.invoiceocean.com/index.md) / [Invoice Customization](https://help.invoiceocean.com/invoice-customization.md)

# [Changing the color and size of invoice elements using advanced CSS codes](https://help.invoiceocean.com/782931-changing-the-color-and-size-of-invoice-elements-using-advanced-css-codes.md)

To change the color and size of certain invoice elements, go to <strong>Settings &gt; Account settings &gt; Print settings &gt; Customize print with CSS </strong>and paste the following CSS code:
<p>You may select whether your changes will apply to a printed invoice, previewed invoice, or both.</p>

<p>In order for the changes to apply to <strong>printed</strong> invoices only, start by pasting the following code:</p>

<div style="position: relative;"><pre class="language-css" tabindex="0"><code class="language-css">}
@media print{ </code></pre></div>

<p>In order for the changes to apply to <strong>previewed</strong> invoices only, start by pasting the following code:</p>

<div style="position: relative;"><pre class="language-css" tabindex="0"><code class="language-css">}
@media screen{ </code></pre></div>

<p>In order for the changes to apply to <strong>printed and previewed</strong> invoices, start by pasting the following code:</p>

<div style="position: relative;"><pre class="language-css" tabindex="0"><code class="language-css">}
@media all{ </code></pre></div>
<br>
<br>
<strong>Changing the color and font in the seller section </strong>(only works in the Default template):<br>
<br>
<div style="position: relative;"><pre class="language-css" tabindex="0"><code class="language-css">table.clean.to_half &gt; tbody &gt; tr &gt; td:first-child p + p + p { color: red !important; font-size:1.4em; }&lt;/code&gt;

&lt;code&gt;table.clean.to_half &gt; tbody &gt; tr &gt; td:first-child p + p + p + p{ color: #000 !important; }&lt;/code&gt;

&lt;code&gt;table.clean.split_half &gt; tbody &gt; tr &gt; td:first-child p:last-child{ color: red !important; font-size:1.4em; }&lt;/code&gt;</code></pre></div><br>
<br>
<br>
These codes will make the <strong>Due date </strong>and your <strong>Bank info</strong> stand out:<br>
<br>
<img alt="duedate" src="https://s3.eu-west-1.amazonaws.com/attachments.intum.net/1/f992b40245866e839a46a21765d4090a6103df3f"><br>
<br>
 
<div>In order for it to work in the <strong>Blue</strong> template, paste the following code:</div>
<br>
<div style="position: relative;"><pre class="language-css" tabindex="0"><code class="language-css">.additional_data p + p + p { color: red !important; font-size:1.4em; }</code></pre></div>