Jump to content

How to hide assets/logo.png on the website but keep it for invoices and email templates??


Sunripe

Recommended Posts

Hi everyone,

I hope everyone's having a good day. I've tried to search the community but I can't find a similar question so I am posting one.

Would anyone care to tell me how hide the logo in whmcs that shows on the website? (assets/logo.png)

I'm using a theme to design whmcs and there's already a logo placement for it.

Now I have 2 logos showing up since I need (assets/logo.png) in place for the logo to be shown in invoices and email templates.

Please see picture.

Thank you in advance!

Untitled.png

Link to comment
Share on other sites

On 28/01/2021 at 16:49, Sunripe said:

Now I have 2 logos showing up since I need (assets/logo.png) in place for the logo to be shown in invoices and email templates.

are the two logos using different files ? because being the same or different files could give multiple solutions to resolving this.

ultimately, you could edit header.tpl to get rid of the logo - if it were Six, then you could use CSS...

section#header .logo img { display: none !important; }

if it were based on 21, then it would be slightly different...

... and btw, you can use different images for PDF, site and emails - the email logo is defined in general settings and doesn't necessarily need to be the same file as the one used elsewhere.

Link to comment
Share on other sites

7 hours ago, brian! said:

are the two logos using different files ? because being the same or different files could give multiple solutions to resolving this.

Yes, one logo is uploaded from WordPress in theme appearance settings. The other one I uploaded to assets/logo.png

I'm using 21, would you know how to do it?

Thank you btw for the response. 🙂

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
On 10/02/2021 at 8:15 AM, brian! said:

I would have thought the CSS below should remove it from the WHMCS header.


.navbar-brand {display: none !important;}

I ended up adding " section#header .logo img { display: none !important; } " to the wordpress theme css and it seemed to do the trick of ridding the logo.

Thanks for the help! Very much appreciated

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated