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 / CSS Web file not activ...
Power Pages
Answered

CSS Web file not active error?

(0) ShareShare
ReportReport
Posted on by 112

I tried to preview my PowerPages website and it was showing some random theme colours and fonts.

 

I created my site from a template and edited the colours.

 

In the builder view, everything displays as it should with my theme colours and design, but when I preview it does not.

 

Running the sire checker I get the following errors:

 

1000047545.jpg

 

I have deactivated and re-activated the two mentioned files, but the issue persists.

 

What could be causing this?

Categories:
I have the same question (0)
  • jyotiatharv Profile Picture
    69 on at

    @elfreddos  It seems your theme.css & bootstrap.min.css web files are not active. You can open the Portal Management app and navigate to Web files. Search for both these files in Inactive webfiles and activate them.
    If already reactivated then download the css files from notes of each file and check its content. Delete these 2 old webfiles and create new ones by uploading css files in notes

  • elfreddos Profile Picture
    112 on at

    Thanks, but I literally wrote at the end of my post

     

    "I have deactivated and re-activated the two mentioned files, but the issue persists"

  • fm_skeller Profile Picture
    277 Moderator on at

    If you try and access the css file directly, with the portal url, does it render the css file in the browser? If not, can you check that the note that contains the css file is still attached to the webfile (in the portal managment app).

  • inanoffice23 Profile Picture
    299 Moderator on at

    Did you get an answer to this? We have the same issue here. We created a new site to have the 'data model' as 'enhanced' and it has triplicated the website files everywhere. Also we can't find it with Visual Studio Code or Portal Content Editor even though it's in the same URL area

  • Verified answer
    elfreddos Profile Picture
    112 on at

    Hi there, not really, although I did manage to sort it.

    However, my CSS files were always here which made it stranger.

     

    I simply changed something in the theme, and then saved it, which then appeared to fix the problem.

  • inanoffice23 Profile Picture
    299 Moderator on at

    lol @elfreddos you are right, that fixed the error. Mine was complaining about some site settings too which I already added. 

     

    Regarding visual studio code, I had to add the website in Portal Management so it would pick it up, and for Portal Content editor I had to tick in Xrmtoolbox the 'enable enhanced' as the new site is now enhanced, happy endings for today after all 🙂 

  • elfreddos Profile Picture
    112 on at

    Interesting, is that because the site would not load into VSC? I have that issue every time.

  • inanoffice23 Profile Picture
    299 Moderator on at

    Yes, so when I do the initial code for VSC terminal 

    pac auth create -u  and the url

    Then 

    pac paportal list

     

    It seems pac portal list looks at Portal Management - Websites, so unless you add it manually, it won't show up 

     

    For some reason it created a separate page hence why VSC was never able to find it

     

    I thought it would create a portal, but it doesn't. It's like when you add a basic form in Power Pages, you have to go to Portal Management to add it or it won't show when you want to add it to the form, quirky ways!

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
Hammed Profile Picture

Hammed 22

#2
Lucas001 Profile Picture

Lucas001 21 Super User 2026 Season 1

#3
DP_Prabh Profile Picture

DP_Prabh 19

Last 30 days Overall leaderboard