Hi,
I would like to place the below Cookiebot code in my ‘head php’.
<script id=”Cookiebot” src=”https://consent.cookiebot.com/uc.js” 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.
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
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.
Hi,
Increasing the width may work:
#CybotCookiebotDialogBody {
max-width:100%!important;
}
Best regards,
Jordan Shannon
Hi Jordan,
Unfortunately that doesn’t help a lot. Any other ideas how I could adjust the height?
Thank you!
Eefke
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