Mac78 Posted November 6, 2017 Share Posted November 6, 2017 Hi, new to WHMCS. Lost already How can I change the size of the logo on the client side? As atm it is tiny I have absolutely no idea how to do this. TIA, martin Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted November 6, 2017 Share Posted November 6, 2017 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. 1 Link to comment Share on other sites More sharing options...
Solution ITWolfy Posted November 23, 2017 Solution Share Posted November 23, 2017 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 More sharing options...
Recommended Posts