Support

Home Forums Event Espresso Premium 300px wide logo squished on PDF invoice

300px wide logo squished on PDF invoice

Posted: June 14, 2014 at 10:08 pm

Viewing 10 reply threads


sakirose

June 14, 2014 at 10:08 pm

I have a 300px x 91px logo that gets squished on the PDF Invoice. I followed the instructions to use less than 400px. Thanks for your help!


Dean

June 16, 2014 at 1:16 am

Hi,

What version of Event Espresso are you using please?


sakirose

June 16, 2014 at 9:36 am

EE4. Thanks!


Tony

  • Support Staff

June 16, 2014 at 10:11 am

Would it be possible for you to link us to the invoice so we can view what is happening please?


sakirose

June 16, 2014 at 11:51 am

Yes:

http://waterleafnaturopathic.com/thank-you/?ee=launch_invoice&id=1-623e1c971783e1952f22e92c44810bd5&html=1&receipt=true


Lorenzo Orlando Caum

  • Support Staff

June 16, 2014 at 1:33 pm

Hello,

I was able to figure out the cause and I have a solution:

http://cl.ly/image/232L0V1T262k

Could you edit your invoices base.css file and change the following lines:

#logo-dv { width:150px!important; }
#logo-dv img { max-width:150px!important; border: none; }

to this:

#logo-dv { width:auto !important; }
#logo-dv img { max-width:none !important; border: none; }

The base.css file is located here:

wp-content/plugins/event-espresso-core-reg/modules/gateways/lib/templates/

Let us know if this fixes the issue. Thanks.


Lorenzo

  • This reply was modified 10 years, 5 months ago by Tony. Reason: max-width:auto to none


sakirose

June 18, 2014 at 3:45 pm

Before I do this, what will happen when I update EE? Will I need to do this again?


sakirose

June 18, 2014 at 3:49 pm

In that directory, these are the files and folders I see:
https://www.dropbox.com/s/qtxb40jystnikjh/ee.png

Also, what is the real solution? Is a 300px logo too wide even though it says use 300px. I’d rather approach this in a non-hacking way.


Lorenzo Orlando Caum

  • Support Staff

June 18, 2014 at 4:46 pm

This is the location:

wp-content/plugins/event-espresso-core-reg/modules/gateways/lib/templates/

We’ve fixed this for an upcoming version of Event Espresso by raising the width setting.


Lorenzo


sakirose

June 18, 2014 at 5:55 pm

Approximately when will that be out?

Are you sure that’s the right location for EE4? See link, there is no lib folder in gateways and I have not touched the plugin code.
http://www.dropbox.com/s/qtxb40jystnikjh/ee.png


Lorenzo Orlando Caum

  • Support Staff

June 18, 2014 at 6:09 pm

No estimate on a release. We fix issues and then we complete a checklist to ensure no new issues are introduced.

The base.css file will be inside the Invoice folder.


Lorenzo


sakirose

June 18, 2014 at 6:16 pm

So the correct path is actually this?

wp-content/plugins/event-espresso-core-reg/modules/gateways/Invoice/lib/templates/

Viewing 10 reply threads

The support post ‘300px wide logo squished on PDF invoice’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso