function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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