Home › Forums › ACF PRO › Display ACF Block in a modal › Reply To: Display ACF Block in a modal
Why are you using functions to enqueue the style, use the JSON style decalaration. Or try putting the wp_enqueue_style call into the template. It’s also not clear to me why you’re using a function to call the template rather than a JSON declaration.
Other than that (these should work anyway), check that the CSS file exists by interrogating the src parameter.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.