Logo Align on PDF Invoice

Hi, I’m using the code below by kcdigital
but how can i align it to the Center, Thank you

#invoice-logo { 
max-width: 15em !important;
max-height: 15em !important;
margin-bottom: 1em;
}
#invoice-logo { 
max-width: 15em !important;
max-height: 15em !important;
margin: 1em auto 0;
}

Thanks Kovah,

but its still not aligning to the center top of the
PDF Invoice

Its Working

#invoice-logo {
max-width: 15em !important;
max-height: 15em !important;
margin-right: 17em;
}

thank you guys for your efforts. In the latest version of iVP I am unable to get this to align. I am editing the templaes.scss file but no matter what change i make it does not center the logo. Any ideas?

I did some research and it appears since the logo is an actual image. (Correct me if I am wrong) the text-align center applies to block containers, not inline elements. I am still trying by trial and error and so far not successful. I would love to hear from anyone else that might have insight

Thanks again

It works for me in 1.5.2 (latest) version.

be sure to edit assets/core/csscustom-pdf.css

Just add the lines above by FilipimTM and it’s Fine.

Thank you this worked exactly as mentioned. thanks again :slight_smile: