Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    The code you need to add is something like the following one:

    @import url(‘https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:wght@100;800&display=swap’);

    body.translatepress-el h1 {
    font-family: ‘Alegreya Sans SC’, ‘sans-serif’;
    }

    I tested it with the inspect element tool and it worked for me. If it doesn’t work, try deleting the ‘sans-serif’ part, or add !important (although it worked without it).

    Best regards,
    Cristian

    Thread Starter deburie

    (@deburie)

    Thanks Cristian,
    so it reads the tag as children of body, good to know!

    Yes, now looks like it is working.

    Thanks
    Best
    Deb

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom font’ is closed to new replies.