• Resolved tendina

    (@tendina)


    Hi, how can I change the main font-family in the banner and in all the other elements?
    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Support daniub

    (@daniub)

    Hi,

    To change the font family of the banner, you can add a custom CSS snippet in the?<head>?tag of your website. Here’s an example of how you can do it:

    <style>
    #iubenda-cs-banner [class*=" iub"], #iubenda-cs-banner [class^="iub"]{
    ?font-family: ?Georgia, sans-serif !important;
    }
    </style>

    This will set the font-family of the banner to Georgia. You can replace “Georgia, sans-serif” with the font-family of your choice.

    For a more advanced customization, you can use the applyStyles parameter and set it to false. This will exclude the default CSS applied to the banner. Then, you can use Iubenda’s CSS as a starting point and add your own <style> tag to the page with the CSS you want for your banner.

    “applyStyles”: false

    Here are the links to Iubenda’s CSS:
    – Current Version
    – Beta Version
    – Stable Version
    – Specific Version

    Please note that these are advanced settings, and you might need to have some knowledge of CSS to use them effectively. You can find more information about these settings in the advanced Privacy Controls and Cookie Solution configuration guide.

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