You need to sign in to do that
Don't have an account?
MoreThanWYSIWYG
How can I call one static resource into another?
I have an overarchng zipped static resource that defines an entire part of our site (Static Resource A). I also have another static resource with our comapny's font information (Static Resource B - GothamFontSet).
How can I dynamically reference Static Resource B from A?
Here is an example within Static Resource A:
Working:
Not working;
What I want to do is avoid having that hardcoded datetime stamp as shown in the "working" version.
Any suggestions?
How can I dynamically reference Static Resource B from A?
Here is an example within Static Resource A:
Working:
@font-face { font-family: Gotham-Book; src: url("/DefaultStore/resource/1496327996000/GothamFontSet/Gotham-Book.otf") format("opentype"); }
Not working;
@font-face { font-family: Gotham-Book; src: url("{!URLFOR($Resource.GothamFontSet, 'Gotham-Book.otf'") format("opentype"); }
What I want to do is avoid having that hardcoded datetime stamp as shown in the "working" version.
Any suggestions?
Refer below link for similar discussion.
https://salesforce.stackexchange.com/questions/159056/how-to-call-static-resource-image-in-another-static-resource-css-file
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards
Sandhya