custom theme css not loading in force.com site

  • 2
  • Problem
  • Updated 11 months ago
  • Acknowledged
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 3 years ago

  • 2
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
I believe the URL needs to be https://compasscare.secure.force.com/support/resource/....

/support is the force.com site.
(Edited)
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Acknowledged, this is a bug, it will be fixed in Banzai Update 5 (7.22+).
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
I am still getting this issue as of 7.27.1 in Production only, works fine in Sandbox. Installing yesterday's release (7.31) hoping that will fix.

Specifically, the font SalesForce Sans will not load in Production, but it does in Sandbox.

See https://full-kalawpc.cs19.force.com/pec/
vs. https://www.fullskope.com/apex/ests_PECAppIntake
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
Made some progress - for some reason even though my Global Font Family is set to SalesForce Sans, the highlighted part here, link to stylesheet, is linking to opensans in the Skuid Fonts static resource. In Sandbox this links to /resource/skuid__Fonts/sfsans/sfsans.css like it should. When I replace this then everything looks like it should

This is in the HEAD of my html, how the heck do I edit that??

Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,240 Points 5k badge 2x thumb
Jack~

Per your communication, it sounds like you have resolved this. Is that true or do you still need assistance with this? 

Thanks!
Karen
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
Hi Karen,

No it's not resolved unfortunately, I still can't get SalesForce Sans to load in Production. That's been an ongoing issue and I was using Open Sans as a fall back font, but then when that stopped working I really freaked out and sent that support email. So Open Sans is working again, so less urgent, but still not sure why SalesForce Sans or ANY Google Web Fonts won't load for force.com site skuid pages in Production. Thanks!
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Have you tried clicking "Update Out-of-date Themes" from the Themes list?
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
Yes, after doing that is when Open Sans stopped working as well, not sure how that started working again. Google Web Fonts or fonts from the skuid__Fonts resource have just never worked in Production. I wonder if it's because we are using a custom domain, fullskope.com, and a security certificate? Maybe it won't load resources? But you can access https://www.fullskope.com/resource/skuid__Fonts/sfsans/sfsans.css so I'm not sure why it wouldn't load in runtime. 
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Was there ever a resolution to this?