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 / Hide entire header fro...
Power Pages
Unanswered

Hide entire header from a custom page

(0) ShareShare
ReportReport
Posted on by 126

Hi Guys,

I have to built a custom page using html, CSS and some standard js library.

The requirement is that we don't need to show OOTB header to this page. so for that created a new web template and unchecked the checkbox for using header and footer. It successfully hide the header but also no CSS or JS files are working. Even I had added the reference of css and js file to the custom web template but didn'y help.

 

Any possible way to fix the problem or any suggestion is appreciated.

Thank you very much.

Categories:
I have the same question (0)
  • Lucas001 Profile Picture
    2,563 Super User 2026 Season 1 on at

    Hi @Atmaram90 ,

     

    you did hide the header and footer as you wished to, correct?

    And your problem now is, that the css and js is not longer working after not including header and footer?

     

    Did you try using the vs code editor online and directly add your css and js there?

     

  • JaviZ Profile Picture
    2 on at

    I have the same behaviour.

    A template without header ignore js and css of the web content page .It doesn´t matter from where you add the code. 

    Is it a bug? My intention is to build a public custom form integrated on a iframe , so i need to hide header and footer

  • domliu37 Profile Picture
    314 Super User 2024 Season 1 on at

    hi @Atmaram90 and @JaviZ ,

     

    Previously I have built a custom maintaince page that also not using the OOTB header and footer, and I did just add the css and js in the web template using <style> and <script> tag, i checked that page again and it is still working. 

    In my blog below it shows you how to build a custom maintenance page, the concept should be the same...
    https://blog.magnetismsolutions.com/blog/dominicliu/2022/05/17/restrict-power-apps-portals-to-administrators
    Prehaps share your webtemplate code where you add the css and js?

    Cheers,

    Dom

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 36

#2
Valantis Profile Picture

Valantis 32

#3
omkarsupreme Profile Picture

omkarsupreme 25

Last 30 days Overall leaderboard