DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

CSS Priority changing between releases?

 4 Replies
 2 Subscribed to this topic
 34 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 12
New Around Here
New Poster
New Poster
Congrats on posting!

Hello, I attempted to update our test enviornment from 10.02.02 to 10.02.05.  After the upgrade, we now get display issues which I'm going to attribute to CSS.  When I compare our production and test sites, the CSS stylsheet that "wins" for a common markup tag no longer is our xcillion skin.css document.  Rather what I'm seeing happen is either a reset.scss or bootstrap.css gets selected.   Even the Persona bar has been visually corrupted. so much so that the "feet" icon do not show up on the upgrade page anymore (so I can't use that page to upgrade to 10.03.03).

Veteran Member
Posts: 355
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
2 Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!

This issue should be fixed by 10.2.5 (it was one of the reasons for doing that release). You have have a cache issue, try to "hard reload and clear cache" or if the site is behind something that may cache resources (like cloudflare), you may want to also clear cache there.

New Around Here
Posts: 12
New Around Here
New Poster
New Poster
Congrats on posting!

Thanks for the pointer. After doing the hard refresh the visual problem with the upgrade page went away, so I was able to initiate the upgrade to 10.03.03.  After the upgrade was complete, the issue I was describing with my skin.css getting overriden also seems to be fixed.  So my portal is looking normal again.

Should I approach my upgrade in the production environment any differently?  Or is it just a matter of doing the hard refresh.  I'm still confused by 10.02.05 having display issues above and beyond just the persona bar.

Veteran Member
Posts: 355
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
2 Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!

Well, you should not have needed to clear the cache so it is hard to really tell you if you will need to do that or not on other hosting instances. But if you see the styles broke right after an upgrade, very often it is because of some level of caching.

Growing Member
Posts: 83
Growing Member
7 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
8 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
3 Most Liked
Most Liked
Congrats, your posts are really liked!

Just to add and confirm Daniel's answers, the issues priority to DNN 10.02.05 that allowed some previously cached CSS to survive the upgrade was fixed. So, if you upgrade directly to 10.02.05 (from any version between 9.13.09 and 10.02.04), you should not experience the problem.

Further, fully hard-clearing the browser's cache and data for the site/URL should also fix the problem.

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy. 
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved