Rips
(Phil Rips)
January 9, 2024, 12:44am
1
Hi there,
The ACF Tangible Template is super useful for creating and storing templates outside of the main Tangible repository, I am just wondering why this feature does not currently support the Styles tab etc. same as the standard template?
I was looking to move some website specific global styles to an ACF options page but it does not seem possible.
Thanks.
Rips
(Phil Rips)
January 9, 2024, 12:53am
2
Right after posting this I seem to have solved it by simply wrapping everything in the <style>
tag.
I am not sure what this means in terms of how the styles are loaded but they are just a bunch of CSS variables used across the website.
<style>
Many CSS global variables...
</style>
Rips
(Phil Rips)
January 9, 2024, 4:52am
3
After some testing I can see that the styles do not get minified when using this approach.
I guess I can just minify them using this online tool to get the same result right?