• Home
  • Blog
  • Documentation
  • FAQ
    • Pre-Sales Questions
  • Log In
  • Get Easy Forms
  • Home
  • Blog
  • Documentation
  • FAQ
    • Pre-Sales Questions
  • Log In
  • Get Easy Forms
home/Knowledge Base/Developers "How To's"/How to replace the logo with an image
Popular Search:Getting Started

How to replace the logo with an image

242 views 3 January 1, 2019 Updated on October 31, 2023 admin

From v1.7.2, you just need to upload your logo using the user interface.

The easiest way to customize the logo is by changing the site’s name (See here).

But if you want to replace the logo with an image, you need to edit the layout files, by following the next steps:

1. Open the following files:

– @app/views/layouts/main.php
– @app/views/layouts/admin.php

2. Replace this line:

'brandLabel' => Html::tag("span", Yii::$app->settings->get("app.name"), ["class" => "app-name"]),

By:

'brandLabel' => '<img src="/path/to/my/logo.png" />',

3. And, open the following file:

– @app/views/user/views/layouts/public.php

And replace this line:

<?= Html::tag("h1", Yii::$app->settings->get("app.name"), ["class" => "app-name"]) ?>

By:

<img src="/path/to/my/logo.png" />

That’s all!

Was this helpful?

3 Yes  No
Related Articles
  • Customize the Landing Page, Login Page and Application design
  • How to compare two fields to pass the validation (jQuery Validation)
  • How can I add custom css styles to radio buttons?
  • How To remove “For more details please go here” from the email notifications
  • How to set the PHP CLI path in the application
  • How To Change the Login Page Slogan

Didn't find your answer? Contact Us

Developers "How To's"
  • How to replace the logo with an image
  • Customize the Landing Page, Login Page and Application design
  • How to compare two fields to pass the validation (jQuery Validation)
  • How can I add custom css styles to radio buttons?
  • How To remove “For more details please go here” from the email notifications
  • How to set the PHP CLI path in the application
View All 17  
Popular Articles
  • How to Show/Hide HTML elements with Conditional Rules
  • How to enable / disable DEBUG mode
  • How to Submit a Form as WhatsApp Message
  • How to update Form Stats from the command line
  • How to compare two fields to pass the validation (jQuery Validation)
KB Categories
  • Add-Ons
  • Advanced Techniques
  • Common Issues & Troubleshooting
  • Developers "How To's"
  • Getting Started
  • How To

  How to set the PHP CLI path in the application

How To Remove the Logo from the Form page  

About Easy Forms

With Easy Forms you can create unlimited web forms and most importantly the complete management of them without paying monthly fees

Resources
  • Knowledge Base
  • Documentation
  • Pre-sales Questions
  • Blog
Useful Help Links
  • Get Easy Forms
  • Live Demo
  • License Terms
  • Contact Us
Frequent Visit Links
  • Pre-Sales Questions
  • System Requirements
  • Installing Easy Forms
  • Upgrading Easy Forms
  • Privacy Policy
  • © 2015 - 2024 Baluart EIRL. All Rights Reserved.

Popular Search:Getting Started