Jump to content

Lost already - client side logo size


Go to solution Solved by ITWolfy,

Recommended Posts

Hi @Mac78

Welcome to the WHMCS.Community, thanks for your question.

If you are referring to your client area logo, you'll need to adjust this in a third party editor such as Snagit and re-upload it to your theme directory.

For the Invoice Logo, The width of the logo image can be changed in the invoicepdf.tpl template file. On line 4, adjust the last number "75" before the closing bracket );. This variable defines the image width. A developer can then experiment increasing and decreasing it until happy.

 

Link to comment
Share on other sites

  • 3 weeks later...
  • Solution

Hi, if you talking about the logo on the webpage, you will need to edit the header.tpl file in your template, lets say we use template six:

/home/username/public_html/templates/six/header.tpl

Find the code:

{if $assetLogoPath}
            <a href="{$WEB_ROOT}/index.php" class="logo"><img src="{$assetLogoPath}" alt="{$companyname}"></a>
        {else}
            <a href="{$WEB_ROOT}/index.php" class="logo logo-text">{$companyname}</a>
        {/if}

 

Replace with:

 

{if $assetLogoPath}
            <a href="{$WEB_ROOT}/index.php"><img style="width:100%;max-width:330px;" src="{$WEB_ROOT}/templates/{$template}/img/logo.png" alt="{$companyname}" /></a>
        {else}
            <a href="{$WEB_ROOT}/index.php" class="logo logo-text">{$companyname}</a>
        {/if}

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 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