web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / PowerApps Portal Heade...
Power Pages
Unanswered

PowerApps Portal Header missing styling

(1) ShareShare
ReportReport
Posted on by 5

What I want to accomplish-
I want to create a new Custom Header web template("Custom Header") that I wish to populate on a particular page and for all other pages I want to populate the default Header web template.

Steps followed-

1. Create  a new web template("demo page"), page template("demo page") & webpage("demo page"). I want to populate the custom header here.
2. In my page template I unchecked the -Enable default header option.
3. In my web template("demo page") I added-  {% include 'Custom Header' %}

Issue-

I see the custom header but I don't see any styling. Its just html. In my web template("Custom Header") I have copied the same code in that of default header template with just a small change of adding one content snippet for logo image and a new weblink set.
Surprisingly, If I check the Enable the default header option, both headers come and styling is also there for  both.

Also, when I inspect the code on "demo page", all I see is the code of the custom header template. There is no other code. The screenshot is attached.


Any help is appreciated.

Thanks.


@nickdoelman ,

@OliverRodrigues ,

@ragavanrajan ,
@OOlashyn 

error_1.JPG
Categories:
  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    in the website level there is a definition of what's the Web Template responsible for the Header.. as this is also load some styling, so my guess is that because you are calling a different Header Template, it's not loading the styling

     

    I think what you need to do is make changes to the existing Header Template

    if page.url == "XXX" then render your code instead of the OOB

  • ShriyaD Profile Picture
    5 on at

    @Oliver , could you point me out the particular code in the header template that is responsible for loading styling. I could not find it.

  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    hi @ShriyaD that logic is not done in the Header Web Template, it's done in the back-end source code

     

    the definition of which Web Template to load as header is in the website level:

     

    OliverRodrigues_1-1632763453110.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 18 Super User 2026 Season 2

#1
Mohsin Ali Profile Picture

Mohsin Ali 18

#3
CU08101843-0 Profile Picture

CU08101843-0 4

Last 30 days Overall leaderboard