Information & support > Knowledge base > Custom styling >Laatst bijgewerkt opDecember 19, 2024The Cookie Declaration will automatically adopt the styling on your website (from your website’s general stylesheet). If you would like to style it further, you can use the CSS !important rule in your website’s own stylesheet. You can choose if the introduction text should be included or not . If you embed the Cookie Declaration in your existing Privacy Policy, you may already have explained the use of cookies somewhere else.All customizations are made in the Cookiebot manager.Introduction textIf you do not wish to include the introduction text, you can deselect it from the backend Manager:Log in to your account https://manage.cookiebot.com/goto/loginGo to the menu point ‘Settings’ and the tab ‘Declaration’Un-tick the checkbox at the bottomSave your settings (tick-mark on the left-hand side blue panel) Differences:Show dialog text on cookie declaration ONShow dialog text cookie declaration OFFYou can also choose to make your own custom Cookie Declaration using XSLT (premium subscription only).For this, a custom template is available. This contains XSLT as well as XML data nodes (available from the small grey question mark on the right-hand side).The code up onto line number 22 exists of essential code for generating the declaration, language settings and default markup. Do not alter these lines unless you are sure of what you are doing. <p class="CookieDeclarationDialogText"> <xsl:value-of select="//Labels/Title" ></xsl:value-of>. <xsl:value-of select="//Labels/Text" ></xsl:value-of> </p> <p class="CookieDeclarationIntro"> <xsl:value-of select="//Labels/CookieGeneralIntro" ></xsl:value-of> </p> <p> <xsl:value-of select="//Labels/ConsentDomains"></xsl:value-of> </p> <div id="CookieDeclarationUserStatusPanel"></div> <br/> <p class="CookieDeclarationLastUpdated"> <xsl:value-of select="//Labels/LastUpdated" disable-output-escaping="yes"></xsl:value-of>: </p>You don’t want to show the default text and introduction? Remove these lines:And this is the result<p class="CookieDeclarationDialogText"> <xsl:value-of select="//Labels/Title" ></xsl:value-of>. <xsl:value-of select="//Labels/Text" ></xsl:value-of> </p> <p class="CookieDeclarationIntro"> <xsl:value-of select="//Labels/CookieGeneralIntro" ></xsl:value-of> </p>Would you like to remove the line “Your consent applies to……..” ? Remove these lines: <p> <xsl:value-of select="//Labels/ConsentDomains"></xsl:value-of> </p>Full list of placeholders:Placeholder nameDescription//Labels/TitleDialog heading//Labels/TextDialog body text//Labels/LanguageCurrent language code//Labels/TextDirectionCurrent language text direction (LTR or RTL)//Labels/CookieGeneralIntroGeneral cookie introduction//Labels/AboutCookiesAbout Cookies label//Labels/CookiesOverviewCookies Declaration label//Labels/LastUpdatedDeclaration last updated date label//Labels/CookieTypeNecessaryTitleNecessary cookies category title//Labels/CookieTypeNecessaryIntroNecessary cookies introduction//Labels/CookieTypePreferenceTitlePreference cookies category title//Labels/CookieTypePreferenceIntroPreference cookies introduction//Labels/CookieTypeStatisticsTitleStatistics cookies category title//Labels/CookieTypeStatisticsIntroStatistics cookies introduction//Labels/CookieTypeMarketingTitleMarketing cookies category title//Labels/CookieTypeMarketingIntroMarketing cookies introduction//Labels/CookieTypeUnclassifiedTitleUnclassified cookies category title//Labels/CookieTypeUnclassifiedIntroUnclassified cookies introduction//Labels/HeaderNameName//Labels/HeaderProviderProvider//Labels/HeaderPurposePurpose//Labels/HeaderTypeType//Labels/HeaderExpiryExpiry//Labels/ConsentDomainsText label including a comma-separated list of domains which cookies are included in the cookie declaration.XML node //CookiesPlaceholder nameDescription//Cookies/CookieCollection of nodes with information for each cookie./Cookie/CategoryCategory/Cookie/DomainsCollection of nodes with the name of each domain that uses the cookie./Domains/Domain/DomainNameName of the domain that set the cookie./Domains/Domain/DomainIPIP number/Domains/Domain/CountryIDCountry code ID/Domains/Domain/CountryNameCountry name/Cookie/ExpireExpiry/Cookie/ExpireDaysThe cookie’s lifetime expressed numerically in number of days./Cookie/ExpireSecondsThe cookie’s lifetime expressed numerically in number of seconds./Cookie/FirstURLFirst found URL/Cookie/HTTPOnlyTrue if the cookie can only be read by the server that set the cookie./Cookie/PathPath/Cookie/PersistentTrue if the cookie is stored permanently on the user’s browser./Cookie/PurposePurpose/Cookie/SecureTrue if the cookie is set via an encrypted connection./Cookie/TrackerTypeType/Cookie/TrackerTypeIDType ID/Cookie/ThirdPartyTrue if the cookie is set by a third-party domain./Cookie/ValueExample value14 day free trial CookiebotCookie scanner, cookie banner, cookie declaration and cookie consent in one solution.Use cookies on your website compliant with GDPR, ePrivacy and cookie legislationCookie management completely automatedCookie banner based on your corporate identityAutomatic composed cookie declaration, always up to dateStart 14 day free trialThe Cookiebot solution runs on 2,3 million websites, manages 7 billion monthly User Consents and supports 47+ languages.Previous Facebook Twitter LinkedIn E-mailNext
Laatst bijgewerkt opDecember 19, 2024The Cookie Declaration will automatically adopt the styling on your website (from your website’s general stylesheet). If you would like to style it further, you can use the CSS !important rule in your website’s own stylesheet. You can choose if the introduction text should be included or not . If you embed the Cookie Declaration in your existing Privacy Policy, you may already have explained the use of cookies somewhere else.All customizations are made in the Cookiebot manager.Introduction textIf you do not wish to include the introduction text, you can deselect it from the backend Manager:Log in to your account https://manage.cookiebot.com/goto/loginGo to the menu point ‘Settings’ and the tab ‘Declaration’Un-tick the checkbox at the bottomSave your settings (tick-mark on the left-hand side blue panel) Differences:Show dialog text on cookie declaration ONShow dialog text cookie declaration OFFYou can also choose to make your own custom Cookie Declaration using XSLT (premium subscription only).For this, a custom template is available. This contains XSLT as well as XML data nodes (available from the small grey question mark on the right-hand side).The code up onto line number 22 exists of essential code for generating the declaration, language settings and default markup. Do not alter these lines unless you are sure of what you are doing. <p class="CookieDeclarationDialogText"> <xsl:value-of select="//Labels/Title" ></xsl:value-of>. <xsl:value-of select="//Labels/Text" ></xsl:value-of> </p> <p class="CookieDeclarationIntro"> <xsl:value-of select="//Labels/CookieGeneralIntro" ></xsl:value-of> </p> <p> <xsl:value-of select="//Labels/ConsentDomains"></xsl:value-of> </p> <div id="CookieDeclarationUserStatusPanel"></div> <br/> <p class="CookieDeclarationLastUpdated"> <xsl:value-of select="//Labels/LastUpdated" disable-output-escaping="yes"></xsl:value-of>: </p>You don’t want to show the default text and introduction? Remove these lines:And this is the result<p class="CookieDeclarationDialogText"> <xsl:value-of select="//Labels/Title" ></xsl:value-of>. <xsl:value-of select="//Labels/Text" ></xsl:value-of> </p> <p class="CookieDeclarationIntro"> <xsl:value-of select="//Labels/CookieGeneralIntro" ></xsl:value-of> </p>Would you like to remove the line “Your consent applies to……..” ? Remove these lines: <p> <xsl:value-of select="//Labels/ConsentDomains"></xsl:value-of> </p>Full list of placeholders:Placeholder nameDescription//Labels/TitleDialog heading//Labels/TextDialog body text//Labels/LanguageCurrent language code//Labels/TextDirectionCurrent language text direction (LTR or RTL)//Labels/CookieGeneralIntroGeneral cookie introduction//Labels/AboutCookiesAbout Cookies label//Labels/CookiesOverviewCookies Declaration label//Labels/LastUpdatedDeclaration last updated date label//Labels/CookieTypeNecessaryTitleNecessary cookies category title//Labels/CookieTypeNecessaryIntroNecessary cookies introduction//Labels/CookieTypePreferenceTitlePreference cookies category title//Labels/CookieTypePreferenceIntroPreference cookies introduction//Labels/CookieTypeStatisticsTitleStatistics cookies category title//Labels/CookieTypeStatisticsIntroStatistics cookies introduction//Labels/CookieTypeMarketingTitleMarketing cookies category title//Labels/CookieTypeMarketingIntroMarketing cookies introduction//Labels/CookieTypeUnclassifiedTitleUnclassified cookies category title//Labels/CookieTypeUnclassifiedIntroUnclassified cookies introduction//Labels/HeaderNameName//Labels/HeaderProviderProvider//Labels/HeaderPurposePurpose//Labels/HeaderTypeType//Labels/HeaderExpiryExpiry//Labels/ConsentDomainsText label including a comma-separated list of domains which cookies are included in the cookie declaration.XML node //CookiesPlaceholder nameDescription//Cookies/CookieCollection of nodes with information for each cookie./Cookie/CategoryCategory/Cookie/DomainsCollection of nodes with the name of each domain that uses the cookie./Domains/Domain/DomainNameName of the domain that set the cookie./Domains/Domain/DomainIPIP number/Domains/Domain/CountryIDCountry code ID/Domains/Domain/CountryNameCountry name/Cookie/ExpireExpiry/Cookie/ExpireDaysThe cookie’s lifetime expressed numerically in number of days./Cookie/ExpireSecondsThe cookie’s lifetime expressed numerically in number of seconds./Cookie/FirstURLFirst found URL/Cookie/HTTPOnlyTrue if the cookie can only be read by the server that set the cookie./Cookie/PathPath/Cookie/PersistentTrue if the cookie is stored permanently on the user’s browser./Cookie/PurposePurpose/Cookie/SecureTrue if the cookie is set via an encrypted connection./Cookie/TrackerTypeType/Cookie/TrackerTypeIDType ID/Cookie/ThirdPartyTrue if the cookie is set by a third-party domain./Cookie/ValueExample value