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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How to remove drop sha...
Power Pages
Answered

How to remove drop shadow from Header

(1) ShareShare
ReportReport
Posted on by 49
Hi all,
 
I am designing a site and I want to remove the drop shadow under the header. I was not able to find any "box-shadow" properties in the header item.
 
Is this called something else in Power Pages? How can I turn off this function? 
 
Thanks!
 
Categories:
I have the same question (0)
  • Suggested answer
    Fubar Profile Picture
    8,461 Super User 2026 Season 1 on at
    Including an image in your post may help identify exactly what element you are meaning.
    (this could be different depending on which template you have used) Inspecting the  nav bar div, there is a box-shadow and also a -webkit-box-shadow (note: you may need to override both with !important)
     
  • SH-02081352-0 Profile Picture
    49 on at
    Hi Fubar - Thanks for you reply including the image. That helps me find where the code is. 
     
    I found out that it was the box-shadow that I wanted to get rid of. However, I wasn't able to find that particular piece of code in the Header<> file on the Visual Studio code. Do you happen to know if there is a different place where the code would be stored?
  • GWham Profile Picture
    58 Moderator on at
    You can overwrite the box-shadow styles to remove the drop shadow.


  • Verified answer
    ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at
    Hi There, 
     
    In Design studio > Styling> your current theme > Three dots> Upload your new css file 
     
     
    2. Add the following code 
     
     .navbar-static-top.navbar-inverse {
        background-color: #ffffff;
        border-color: transparent;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
    }
     
     
    You can use VS Code online to edit your custom CSS 
     
     
    Once done. Sync it and preview the web page the drop shadow will be removed 
     
    Hope it helps.
    ------------
    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 44

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

#3
Fubar Profile Picture

Fubar 16 Super User 2026 Season 1

Last 30 days Overall leaderboard