How to replace the site name with a logo image in the header. Вопрос

How to replace the site name with a logo image in the header. I tried to find the file in the resources folder but I couldn't find it.

2 Комментария

  1. The site header file is located:

    resources/views/default/global/base-header.php

    There you need to find the line:

    <a title="<?= __('app.home'); ?>" class="logo" href="/"><?= config('meta', 'name'); ?></a>

    and replace it:

    <a title="<?= __('app.home'); ?>" class="logo" href="/">
       <img src="/assets/images/logo.jpg" alt="<?= config('meta', 'name'); ?>">
    </a>

    Don't forget to upload the logo (img) so that it is here:

    /assets/images/logo.jpg

  1. Thank you for your help. I also want to praise your work.