Starts in:
2 DAYS
3 HRS
17 MIN
16 SEC
Starts in:
2 D
3 H
17 M
16 S
Open Closed

Missing logo in LeptonX since version 8.0.3 #6671


User avatar
0
ageiter created
  • ABP Framework version: v8.0.3
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

I have just updated two applications to version 8.0.3. Both use the LeptonX theme with the TopMenu layout. Unfortunately, the logo is no longer displayed after logging in (only the app name).

Please fix this or at least create a way to display the logo again.

I haven't found anything in the release notes about the reasons why this was removed... It's just a bit tedious when you get such surprises after every update and have to invest a lot of time in fixing it.

Before v8.0.2:

Now v8.0.3:

Regards, Adrian


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

    Can you check if overriding LogoUrl and LogoReverseUrl works or not?

    In the LeptonX both of them should be defined at the same time since it supports client-side dark/light changes.

    A default BrandingProvider should be included in your project by default.

     [Dependency(ReplaceServices = true)]
        public class MyProjectBrandingProvider : DefaultBrandingProvider
        {
            public override string LogoUrl => "/logo.png";
            
            public override string LogoReverseUrl=> "/logo-dark.png";
        }
    
  • User Avatar
    0
    ageiter created

    Ah great, yes, that's how it works.

    In the past, the branding provider never really worked, so I solved it via the CSS file.

    It would be cool if you could also set the icon and the background image in the branding provider. As a wish for the future :-)

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    It seems the previous bug has been solved with the latest patch release.

    Since it was a bug, your credit has been refunded

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06