+ Start a Discussion

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:
@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?

SandhyaSandhya (Salesforce Developers) 

Refer below link for similar discussion.

Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards