Support » Plugin: Complianz - GDPR/CCPA Cookie Consent » Not accepting custom fonts

  • Resolved shiv99

    (@shiv99)


    Hi,

    I’ve added this CSS for the cookie banner, however the font doesn’t change. Are only certain font styles accepted?

    .cc-message {font-family: ‘Monserrat’, sans-serif; letter-spacing: 2px;}
    /* styles for the message box */

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @shiv99,

    To be able to embed a font from Google Fonts, you will first have to place the Google Fonts API code on your site (or self-host Google Fonts to prevent the API call, as explained here: https://complianz.io/self-hosting-google-fonts-for-wordpress/).

    Could you confirm that the necessary code to embed Google Fonts has been inserted?

    Regards,
    Jarno

    Thread Starter shiv99

    (@shiv99)

    Hi,

    Thanks for getting back to me so quickly. It’s all sorted. It was a cache issue (seriously embarrassed :-))

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @shiv99,

    Glad to hear you already found the solution.

    I’ll mark the thread as resolved, feel free to reach out if you have any further questions.

    Kind regards,
    Jarno

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.