0
jtallon created
Hi, I want to change the href of the logo on the top left of my abp solution. At the I am using javascript to change the href of the class "navbar-brand" but I don't like doing this incase the name of the class changes in an update. Is there any easier why to change this reference?
4 Answer(s)
-
0
Hi @jtallon
Can you answer the foıllowing questions so that we can help you better:
- Which UI framework are you using?
- What is the version of ABP packages?
-
0
Hi @Mehmet
I am using version 4.2 and MVC razor pages
-
0
hi @jtallon
You can override the
HeaderBrandViewComponent
to change thehref
.Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Components\Header\Brand\HeaderBrandViewComponent.cs
@using Volo.Abp.Ui.Branding @inject IBrandingProvider BrandingProvider <a class="navbar-brand" href="~/" alt="@BrandingProvider.AppName"></a>
-
0
This question has been automatically marked as stale because it has not had recent activity.