Using this as reference https://stripe.com/docs/elements/reference#stripe-elements
I'm trying create a custom font src
to pass to my stripe elements:
var elements = stripe.elements(
{
font: {
family:'Effra',
src: "url('https://cuddlecompanions.org/wp-content/themes/diamondphoenix/fonts/effra.eot')"
}
}
);
var style = {
base: {
fontFamily: 'Effra'
}
}
But the font is not displaying as planned..
Any help would be appreciated: