Starts in:
2 DAYS
0 HR
4 MIN
43 SEC
Starts in:
2 D
0 H
4 M
43 S
Open Closed

Overwrite Account Page Branding LeptonX #4012


User avatar
0
alin.andersen created

Hey,

we migrated to LeptonX Theme and we dont know how to change the branding on the Account page.

We did this to change the branding on the other pages and it works nicely: https://docs.abp.io/en/commercial/latest/themes/lepton-x/mvc#main-header-branding

We did the branding change in both the Blazor and AuthServer project. But the branding on the Acccount Login Page still stays default.

The only thing that is shown is how to change the Account Layout: https://docs.abp.io/en/commercial/latest/themes/lepton-x/mvc#account-layout

But this does not even work. And I cant find any addtional documentation for this.

Thanks!

  • ABP Framework version: v6.0.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC)

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

    Hi

    Did you try overriding with CSS like below?

    :root .lpx-theme-dim, :root .lpx-theme-dark .lpx-brand-logo {
        --lpx-logo: url('/images/logo/leptonx/logo-light.png');
        --lpx-logo-icon: url('/images/logo/leptonx/logo-light-thumbnail.png');
    }
    
    :root .lpx-theme-light {
        --lpx-logo: url('/images/logo/leptonx/logo-dark.png');
        --lpx-logo-icon: url('/images/logo/leptonx/logo-dark-thumbnail.png');
    }
    
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06