Open Closed

How to change the favicon and title in the profile settings page #5025


User avatar
0
hardip created
  • ABP Framework version: v7.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

How to change the favicon and title of the header in the profile settings page in the blazor app?

The changes in the Account - default.cshtml only reflects in the login/reset-pass/confirm-email/register pages, not the profile page.

Refer Profile settings page

Security logs page


5 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi,

    These pages are in AuthServer. If you use separated AuthServer in your project, you should add favicon.svg file in your AuthServer project too.

    wwwroot/favicon.svg

  • User Avatar
    0
    hardip created

    Hi,

    These pages are in AuthServer. If you use separated AuthServer in your project, you should add favicon.svg file in your AuthServer project too.

    wwwroot/favicon.svg

    Ok, overridden the default icon with custom icon, but what about the title in the header? How to change that?

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Can you try placing facicon.ico file in that folder too?

  • User Avatar
    0
    hardip created

    Can you try placing facicon.ico file in that folder too?

    Icon is successfully changed but I want to change the title of the page. How to change that?

    refer

  • User Avatar
    0
    jfistelmann created

    Hi,

    You can change the title of your page by configuring a branding provider like described here:

    https://docs.abp.io/en/abp/latest/UI/AspNetCore/Branding

    The title will be set from what you define as AppName

    For your blazor server application, you may check the _Host.cshtml file and replace the string inside <title></title>

    Please let me know if that works for you or if you have any additional questions in that matter :)

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19