Complianz can automatically generate a cookie policy with Gutenberg. To replace this with a Divi page you need to add a shortcode and some custom CSS.
Source: https://complianz.io/used-shortcodes-by-complianz/
Doorloop de wizard als Nederlandstalige gebruiker, anders krijg je de banner in het Engels. de cookie policy wordt automatisch vertaald, daarvoor moeten de vertalingen via de WP update opgehaald worden.
Shortcodes
Cookie policy text
Add this shortcode to a text module (code module has limited styling options).
Use a dark text on a white background, because the policy contains tabs and toggles that are difficult to style.
[cmplz-document type="cookie-statement" region="eu"]Code language: JSON / JSON with Comments (json)
Link to accept cookies
[cmplz-accept-link text="You'll need to accept our cookies."]Code language: JSON / JSON with Comments (json)
Button to Revoke consent
[cmplz-revoke-link text="Revoke your settings!"]Code language: JSON / JSON with Comments (json)
Shows current consent status
[cmplz-manage-consent]Code language: JSON / JSON with Comments (json)
Custom CSS
To match with the DIvi styles
selector #cmplz-document{
font-size: inherit !important;
max-width: 100%;
}
selector #cmplz-document p, #cmplz-document li{
font-size: inherit !important;
}Code language: CSS (css)