Make Salesforce Sans Viewable on AxShare


#1

Does anyone know how to do this? I notice they have webfonts, but I can’t figure out the right .css file to link to.


#2

Where are you looking? What options do they make available for using the font?


#3

They have @font-face in their CSS. Like this:

@font-face {
font-family: ‘Salesforce Sans’;
src: url(“https://www2.sfdcstatic.com/system/shared/common/assets/fonts/SalesforceSans/SalesforceSans-Light.woff2”) format(“woff2”), url(“https://www2.sfdcstatic.com/system/shared/common/assets/fonts/SalesforceSans/SalesforceSans-Light.woff”) format(“woff”);
font-weight: 300; }


#4

In that case you can put that font-face declaration in the webfont settings instead of linking to a CSS file. You don’t need to include the @font-face { } though, just the parts inside.

If that still doesn’t work, then check the browser console for errors. It’s very likely they won’t allow other domains to load their assets. That doesn’t look like something that’s meant for general public use, just a static assets domain for their own content.


closed #5

unlisted #6

archived #7