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 / Customization of backg...
Power Pages
Answered

Customization of background colors in power pages

(0) ShareShare
ReportReport
Posted on by 4

Hello everyone, 

 

When I customize the colors on a theme for my website, I cannot see the background colors in preview mode.

Is anyone knows the reason for which one I can't see the color of background ? 

 

Thank you for your help.

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

    Hi @Yan69,

     

    did you check the developer tools and searched for the background color?

    There should be a css property which hold your color value. Have a look if the one you want is applied or not.

  • Yan69 Profile Picture
    4 on at

    Yes, I opened Visual Studio Code, I went on the file "theme.css" where I have all css properties but when I do a modification about the background color for the footer for example, I synchronize but there is nothing which happen on power pages studio and same in preview mode. Is it possible to show me where should I go really ? @Lucas001  

  • Verified answer
    Lucas001 Profile Picture
    2,555 Super User 2026 Season 1 on at

    Hi @Yan69,

     

    footer and header are a bit different as they usually use the colour defined inside the styling in the power page designer. Can you change a colour there and see if it reflected in the page?

    Lucas001_0-1706521874161.png

     

     

    Other than that is what you need to do in chrome for example.

    Go to your page in preview --> Right click --> Developer:

    Lucas001_1-1706521970747.png

     

    You will than see a sidebar like that. Have a look at the colourcode for the body.

    In my case background-color: #FFFFFF. If you changed yours there should be your new colorcode.

    If you cannot see it the change is not applied and there may be an issue with your css.

     



    --------------------------------------------------------------------------------------

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

     

     

  • jyotiatharv Profile Picture
    69 on at

    @Yan69  Header & Footer code exists in the header and footer web template. Regarding css, you can make changes in the header and footer class in theme.css and update the old theme.css with the new one in notes of the webfile. After that you can synchronize and check the output by doing hard refresh
    e.g.
    footer {
    position: relative;
    color: #AAAAAA;

    }

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 61

#2
11manish Profile Picture

11manish 40

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 36 Most Valuable Professional

Last 30 days Overall leaderboard