Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1216903

    Hi,

    I would like to place the below Cookiebot code in my ‘head php’.
    <script id=”Cookiebot” src=”https://consent.cookiebot.com/uc.js&#8221; data-cbid=”53fe3389-3e2d-4d1f-a16f-122cedd7063f” data-blockingmode=”auto” type=”text/javascript”></script>

    Unfortunately I can’t find the ‘head php’ in my Enfold Child Theme.
    If I put the code in my Enfold functions php I get an error.

    Could you please help me with that?
    Thank you.

    #1217163

    Hey Eefke,

    You need to move the header.php file from the parent to the child theme and then add. Or, you can use this plugin:

    Best regards,
    Jordan Shannon

    #1217313

    Hi Jordan,

    The plugin worked. Thanks a lot!
    I find the Cookiebot user consent quite high. It covers an important part of my website.

    Is there a way to recode it which adjusts the height?
    In my Cookiebot account I find that I can use this code in my CSS file to adjust the styling:

    #CybotCookiebotDialog { font-family: Helvetica!important; }

    Thanks.

    #1217489

    Hi,

    Increasing the width may work:

    #CybotCookiebotDialogBody {
    max-width:100%!important;
    }

    Best regards,
    Jordan Shannon

    #1217663

    Hi Jordan,

    Unfortunately that doesn’t help a lot. Any other ideas how I could adjust the height?

    Thank you!
    Eefke

    #1217832

    Hi,

    Unfortunately the only other thing that may work is reducing the font to put everything to one line. It’s the line breaks that creates the height.

    Best regards,
    Jordan Shannon

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