- ABP Framework version: v8.0.1
 - UI Type: Blazor Server
 - Database System: EF Core (SQL Server)
 
Hi!
In a Blazor.server project that was created with abp suite, the MainFooterComponent.razor component is created in Components/Layout. However, this is not displayed at runtime. What do I have to do to display the MainFooterComponent.razor from Components/Layout? What do I have to do so that the footer is not displayed on a mobile device?
Download sample project: https://powershare.energieag.at/s/8Sa9ytgm42BsEYg
Please request the password by e-mail
Best regards karl
4 Answer(s)
- 
    0
Hello ,
You can add following code in
MainFooterComponent.razorpage@using Volo.Abp.DependencyInjection @using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu @inherits Footer @attribute [ExposeServices(typeof(Footer))] @attribute [Dependency(ReplaceServices = true)]
<span class=" copyright-text text-center" > My Custom Footer </span>Thank you.
 - 
    0
Thanks for the quick answer, it worked.
Is there also a way to deactivate the footer on mobile devices?
Thank you.
 - 
    0
Yes it is possible , you have to customize your code at your side.
 - 
    0
Thank you.