Excluding the Privacy Notice Core CSS

You can exclude OneTrust's Privacy Notice Core styles while integrating privacy notices on your sites using the following procedure. This may be useful if you would like to retain your existing web page styles when creating and integrating a notice on your web site.

Note:

Changes to the OneTrust.NoticeApi.LoadNotices parameter will only include or exclude the Notice Core style file (otnotice-core.css) and not the layout style files.

To exclude OneTrust's Privacy Notice Core CSS

  1. Copy the integration code snippet for your notice.
  2. In the integration code for the OneTrust.NoticeApi.LoadNotices parameter, change the value to 'false'.
    JSON
    OneTrust.NoticeApi.LoadNotices(["https://{BASE URL}/{TENANT GUID}/privacy-notices/{NOTICE GUID}.json"],true,”fr”,false);
    CAUTION:

    Do not copy this code snippet. Copy the one generated by your privacy notice on the Integration tab and modify the code accordingly.

  3. Paste the updated integration code snippet into the pages where you want to display your notice.