For the complete documentation index, see llms.txt. This page is also available as Markdown.

Customizing the logo

To customize the sidebar logo, you need to set new logo template at sylius_admin.common.component.sidebar.logo twig hook. Choose the YAML or the PHP version.

# config/packages/sylius_bootstrap_admin_ui.yaml
# ...
sylius_twig_hooks:
    hooks:
        # ...
        'sylius_admin.common.component.sidebar.logo':
            image:
                # template: '@SyliusBootstrapAdminUi/shared/crud/common/sidebar/logo/image.html.twig'
                template: 'shared/crud/common/sidebar/logo/image.html.twig'
{# templates/shared/crud/common/sidebar/logo/image.html.twig #}

<img src="{{ asset('images/logo.png') }}" alt="Your Brand name" class="navbar-brand-image" />


  

To customize the login page logo,you need to set new logo template at sylius_admin.security.login.logo twig hook. Choose the YAML or the PHP version.

Last updated

Was this helpful?