Hi Denis,
That’s a good question. There isn’t a way to do this with a UI.
In the upcoming 0.7 release, there will be a better way to enqueue scripts if you use the new “Paired Mode” or “Native AMP.”
But for now, you can do something like this:
add_action( 'amp_post_template_css', function() {
?>
article p {
font-family: Georgia;
}
<?php
} );
You’ll probably have to change the selector, depending on how much of the <article> should have a different font. And feel free to use your own font 🙂
Let me know how this works.
Thanks!
Thread Starter
Dalee
(@dalee)
Hi,
Thank you for your quick and competent answer. The snippet and the link helped me a lot. Worked.
Best wishes