In more recent template updates, categories that contain no cookies are automatically removed (so that visitors need only consent to categories that actually have something in them). This is done using an IF statement.

If you would like to have all categories displayed on your pop-up (regardless of if they contain cookies or not), then this IF statement can be removed:

Start by going to the Consent Solution that contains the Pop-up you wish to edit. From there click on the Pop-up tab - Advanced Settings - HTML field (the first of the three boxes).

Scroll down the field until you see the following line:

{{#each cookie_categories}}

Directly below, you should see:

{{#if this.cookie_type_count}}

Remove the line, and then continue further down until you find the end of the IF statement:

{{/if}} 
{{/each}}

Remove the {{/if}}

This needs to be done on both instances of #{{each cookie_categories}}.

As an example (using the Overlay v2 template), below is the full HTML code with the IF statements removed:

<div id="coiOverlay" role="banner">
<div role="dialog" aria-modal="true" id="coi-banner-wrapper" class="coi-banner__wrapper" aria-describedby="coiBannerHeadline" aria-labelledby="coi-banner-wrapper_label" lang="{{language}}" dir="ltr">
<div id="coiPage-1" class="coi-banner__page">
<div class="coi-banner__summary">
<div class="coi-banner__header">
<span class="coi-banner__branding">powered by: <a class="coi-external-link" href="https://cookieinformation.com/" target="_blank">Cookie Information</a></span>
</div>
<div class="coi-banner__text">
<div class="coi-banner__headline" id="coiBannerHeadline">{{{banner_heading}}}</div>
<div class="coi-banner__maintext" id="coi-banner-wrapper_label">{{{banner_main_text}}} <a href="javascript:TogglePage(this, 'coiPage-3');" onkeypress="TogglePage(this, 'coiPage-3')" class="coi-banner__policy">{{{translations.about_cookies}}}</a></div>
</div>
</div>
<div class="coi-banner__consent-wrapper">
<div class="coi-banner__page-footer" role="navigation" aria-label="menu">
<div class="coi-button-group">
<button TABINDEX="0" onclick="CookieInformation.declineAllCategories()" onkeypress="CookieInformation.declineAllCategories()" aria-label="{{{decline_cookies_button}}}" id="declineButton" class="coi-banner__decline">{{{decline_cookies_button}}}</button>
<button TABINDEX="0" onclick="CookieInformation.submitConsent()" onkeypress="CookieInformation.submitConsent()" aria-label="{{{translations.update_consent_button}}}" id="updateButton" class="coi-banner__decline">{{{translations.update_consent_button}}}</button>
<button TABINDEX="0" onclick="CookieInformation.submitAllCategories();" onkeypress="CookieInformation.submitAllCategories();" aria-label="{{accept_cookies_button}}" class="coi-banner__accept">{{accept_cookies_button}}</button>
</div>
<div class="coi-toggle-group">
<button TABINDEX="0" onclick="toggleDetails(this.id)" onkeypress="toggleDetails(this.id)" id="show_details" aria-label="{{{translations.show_details}}}">{{{translations.show_details}}}</button>
<button TABINDEX="0" onclick="toggleDetails(this.id)" onkeypress="toggleDetails(this.id)" id="hide_details" aria-label="{{{translations.hide_details}}}">{{{translations.hide_details}}}</button>
</div>
</div>
<div class="coi-consent-banner__categories-wrapper" id="coiConsentBannerCategoriesWrapper" aria-hidden="true">
{{#each cookie_categories}}
<div class="coi-consent-banner__category-container">
{{#if this.is_necessary}}
<input class="coi-consent-banner__category-expander" id="coi-consent-banner__category-expander-{{this.cookie_type_label}}"
type="checkbox" name="tabs">
{{/if}}
{{#unless this.is_necessary}}
<input aria-label="{{{translations.show_details}}} {{{this.cookie_type_name}}}" class="coi-consent-banner__category-expander" id="coi-consent-banner__category-expander-{{this.cookie_type_label}}"
type="checkbox" name="tabs">
{{/unless}}
<div class="coi-consent-banner__name-container">
<label for="coi-consent-banner__category-expander-{{this.cookie_type_label}}" class="coi-consent-banner__category-name coi-consent-banner__category-name--slider">
<div aria-label="navigation arrow" class="ci-arrow"></div>
<span>{{{this.cookie_type_name}}}</span>
<div class="coi-consent-banner__category-description">{{{this.cookie_type_description}}}</div>
</label>
</div>
<div class="coi-consent-banner__description-container" id="coi-consent-banner__description-container-{{this.cookie_type_label}}">
<div class="coi-consent-banner__found-cookies">
{{#if this.cookie_type_count}}
{{#each this.cookie_type_results}}
<div class="coi-consent-banner__cookie-details">
<div class="cookie-details__detail-container cookie-details__detail-container-data-processor-name" title="{{this.data_processor_name}}">
<span class="cookie-details__detail-title">{{{../../translations.data_processor_name}}}:</span>
<span class="cookie-details__detail-content">{{{this.data_processor_name}}}</span>
</div>
<div class="cookie-details__detail-container cookie-details__detail-container-purpose" title="{{this.description}}">
<span class="cookie-details__detail-title">{{{../../translations.cookie_purpose_header}}}:</span>
<span class="cookie-details__detail-content">{{{this.description}}}</span>
</div>
<div class="cookie-details__detail-container cookie-details__detail-container-data-processor-privacy-policy" title="{{this.data_processor_privacy_policy}}">
<span class="cookie-details__detail-title">{{{../../translations.data_processor_privacy_policy}}}:</span>
<span class="cookie-details__detail-content"><a target="_blank" href="{{{this.data_processor_privacy_policy}}}">{{{this.data_processor_privacy_policy}}}</a></span>
</div>
<hr />
<div class="cookie-details__detail-container cookie-details__detail-container-expiry" title="{{this.expiration}}">
<span class="cookie-details__detail-title">{{{../../translations.cookie_expiry_header}}}:</span>
<span class="cookie-details__detail-content">{{{this.expiration}}}</span>
</div>
<div class="cookie-details__detail-container cookie-details__detail-container-name" title="{{this.name}}">
<span class="cookie-details__detail-title">{{../../translations.cookie_name_header}}:</span>
<span class="cookie-details__detail-content">{{{this.name}}}</span>
</div>
<div class="cookie-details__detail-container cookie-details__detail-container-provider" title="{{this.domain}}">
<span class="cookie-details__detail-title">{{{../../translations.cookie_provider_header}}}:</span>
<span class="cookie-details__detail-content">{{{this.domain}}}</span>
</div>
</div>
{{/each}}
{{else}}
<div class="coi-consent-banner__cookie-details">
<h3 class="coi-consent-banner__no-cookies">{{{../translations.iab_no_cookies_in_category}}}</h3>
</div>
{{/if}}
</div>
</div>
</div>
{{/each}}
</div>
<div class="coi-banner-consent-group">
{{#each cookie_categories}}
{{#unless this.is_unclassified}}
<div class="coi-banner-consent-field">
<div class="consent-feld-name">{{{this.cookie_type_name}}}</div>
{{#if this.is_necessary}}
<div class="coi-consent-banner__switch-container" id="switch-{{this.cookie_type_label}}">
<div class="coi-checkboxes">
<input class="coi__checkbox" data-index="0" aria-label="{{{this.cookie_type_name}}}" name="{{this.cookie_type_label}}" id="{{this.cookie_type_label}}" type="checkbox" disabled />
<div aria-label="toggle-for-{{{this.cookie_type_name}}}" class="checkbox-toggle"></div>
</div>
</div>
{{/if}}
{{#unless this.is_necessary}}
{{#unless this.is_unclassified}}
<div class="coi-consent-banner__switch-container" id="switch-{{this.cookie_type_label}}">
<div class="coi-checkboxes">
<input class="coi__checkbox" data-index="0" aria-label="{{{this.cookie_type_name}}}" name="{{this.cookie_type_label}}" id="{{this.cookie_type_label}}" type="checkbox" onclick="CookieInformation.changeCategoryConsentDecision('{{this.cookie_type_label}}')" onkeypress="CookieInformation.changeCategoryConsentDecision('{{this.cookie_type_label}}')" />
<div aria-label="toggle-for-{{{this.cookie_type_name}}}" class="checkbox-toggle"></div>
</div>
</div>
{{/unless}}
{{/unless}}
</div>
{{/unless}}
{{/each}}
</div>
</div>
</div>
<div id="coiPage-3" class="coi-banner__page" style="display:none;">
<div class="coi-banner__cookiedeclaration">
<div class="coi-banner__header">
<span class="coi-banner__branding">powered by: <a href="https://cookieinformation.com/" target="_blank">Cookie Information</a></span>
</div>
<div class="coi-banner__text">
<div class="coi-banner__headline">{{{translations.cookies_overview}}}</div>
<div class="coi-banner__maintext">
<span class="top-column__bold-text">{{{translations.domain_list_explanation}}}</span>
<span class="top-column__website-domains">{{{website_domains}}}</span>
<span class="top-column__bold-text">{{{last_updated}}}</span>
</div>
</div>
</div>
<div class="coi-banner__page-footer" role="navigation" aria-label="third-menu">
<div class="coi-button-group">
<button TABINDEX="0" onclick="TogglePage(this, 'coiPage-1')" onkeypress="TogglePage(this, 'coiPage-1')" aria-label="{{{translations.hide_details}}}" class="coi-banner__lastpage">{{{translations.category_consent_header}}}</button>
<button TABINDEX="0" onclick="CookieInformation.submitAllCategories();" onkeypress="CookieInformation.submitAllCategories();" aria-label="{{accept_cookies_button}} button" class="coi-banner__accept">{{accept_cookies_button}}</button>
</div>
</div>
<div class="cookiedeclaration_wrapper">
<div class="bottom-column__why-cookies">{{{cookie_declaration_text}}}</div>
</div>
</div>
</div>
</div>
<button TABINDEX="1" aria-label="renew-consent" id="Coi-Renew" onclick="javascript:CookieConsent.renew();" onkeypress="javascript:CookieConsent.renew();">
<svg version="1.1" id="coi-renew-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 304.4 304.4" style="enable-background:new 0 0 304.4 304.4;" xml:space="preserve">
<g>
<path class="renew_path" d="M80.8,53.3c-6.6-8.2-19.5-8.5-27.5,0.5C33,76.8,1.7,124.4,16.4,187.7c0,0-4.1,1.2-9.3,2.7
c-5.1,1.5-2.5,9.7,5.9,18.3l35.9,36.9c8.4,8.6,16.6,6,18.4-5.9l7.2-48.3c1.8-11.9-2.3-19.9-9.1-17.9L53,177
c-8.9-42.1,10-75.1,24.7-93.3C85.3,74.4,87.4,61.5,80.8,53.3z"/>
<path class="renew_path" d="M121.7,300.8c9.5,1.9,21.6,3.6,35.3,3.6c29.2,0,65.3-7.7,97.5-36.7c0,0,4.1,3.9,9.2,8.8
c5.1,4.9,11.8-0.5,15.1-12.1l14.1-49.5c3.3-11.6-3.1-17.4-14.3-13l-45.4,17.8c-11.2,4.4-17.1,11-13.3,14.7l7,6.7
c-31.7,27.1-68.7,27.1-91.4,23.4c-11.9-1.9-24.1,2.7-27.9,12.5C103.8,287,110,298.3,121.7,300.8z"/>
<path class="renew_path" d="M299.3,127.6c-6.9-29.3-26.8-80.8-84.1-106.1c0,0,1.9-5.5,4.2-12.2c2.3-6.7-5.4-10.7-17.3-8.9l-50.8,7.9
c-11.9,1.8-14.5,10.1-5.8,18.4l35.2,33.8c8.7,8.3,17.1,11.1,18.8,6.1l3.1-8.9c36.8,17.6,52,50.7,58.1,72.5
c3.3,11.6,12.6,20.8,23.1,20.1C294.3,149.6,302,139.3,299.3,127.6z"/>
</g>
<g>
<g>
<g>
<path class="renew_path" d="M203.9,101.4c-2.6-2.6-6.1-4.1-9.1-6.2c-3-2.2-5.6-4.7-8.9-6.4c-3.3-1.7-6.4-3.9-9.9-5
c-3.5-1.1-7.2-1.7-10.8-2.3c-3.6-0.6-7.3-1.6-11-1.6c-3.7,0-7.2,2.6-10.8,3.2c-3.7,0.6-7.3,0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-7.7c-3.2-2.6-5.5-5.9-8.1-9.1
c-2.6-3.2-6-5.8-7.9-9.6c-1.8-3.7-4.3-7.4-5.2-11.5c-0.9-4,0-8.4,0-12.6c0-4.2,0.5-8.3,1.5-12.3c0.9-4.1,3.2-7.5,5-11.2
c1.8-3.8,3.5-7.4,6.1-10.6c2.6-3.2,4.3-7.5,7.5-10.1c3.2-2.6,7.7-3.3,11.5-5.1c3.7-1.8,7.1-4.7,11.2-5.7c4-0.9,8.3,0.8,12.6,0.8
c4.2,0,8.5-1.4,12.5-0.5c4.1,0.9,7.6,3.5,11.3,5.3c3.8,1.8,6.7,4.6,9.9,7.1c3.2,2.6,6.8,4.7,9.4,7.9c2.6,3.2,6.1,6,7.9,9.8
c1.8,3.7,2.4,8.1,3.4,12.1C209.5,142.7,209.6,146.9,209.6,151.1z"/>
</g>
<g>
<path class="renew_path" d="M154.2,191.6c0-2.7-2.3-5-5-5c-2.7,0-4.9,2.3-4.9,5c0,2.7,2.2,4.8,4.9,4.8
C151.9,196.4,154.2,194.3,154.2,191.6z"/>
</g>
<g>
<path class="renew_path" d="M198.4,143.3c0-2.7-2.2-5-4.9-5c-2.7,0-4.8,2.2-4.8,5s2.1,4.9,4.8,4.9C196.2,148.2,198.4,146,198.4,143.3z"
/>
</g>
<g>
<path class="renew_path" d="M161,150c0-2.7-2.1-4.8-4.8-4.8c-2.7,0-4.9,2.1-4.9,4.8s2.2,4.8,4.9,4.8C158.9,154.9,161,152.7,161,150z"/>
</g>
<g>
<path class="renew_path" d="M127,175.1c0-2.7-2.1-4.9-4.8-4.9c-2.7,0-4.9,2.2-4.9,4.9s2.2,4.9,4.9,4.9C124.9,180,127,177.8,127,175.1z"
/>
</g>
<g>
<path class="renew_path" d="M141.6,110.6c0-2.7-2.2-4.8-4.9-4.8c-2.7,0-4.9,2.1-4.9,4.8s2.2,4.8,4.9,4.8
C139.4,115.4,141.6,113.3,141.6,110.6z"/>
</g>
<g>
<path class="renew_path" d="M127.6,130c-3.8,0-7.2,1.6-9.7,4.1c-2.5,2.5-4,5.9-4,9.7c0,3.8,1.3,7.4,3.8,9.9c2.5,2.5,6.1,3.8,9.9,3.8
s7.4-1.3,9.9-3.9c2.5-2.5,4.1-6.1,4.1-9.9c0-3.8-1.9-7.1-4.4-9.7C134.8,131.6,131.5,130,127.6,130z M127.6,150
c-3.4,0-6.2-2.8-6.2-6.2c0-3.4,2.9-6.3,6.2-6.3c3.4,0,5.9,2.9,5.9,6.3C133.5,147.2,131,150,127.6,150z"/>
</g>
<g>
<path class="renew_path" d="M177.7,161.9c-3.8,0-7.1,1.7-9.7,4.2c-2.5,2.5-4.4,5.8-4.4,9.7c0,3.8,1.7,7.3,4.2,9.8c2.5,2.5,6,4.2,9.8,4.2
c3.8,0,7.2-1.8,9.7-4.3c2.5-2.5,4.4-5.9,4.4-9.7c0-3.8-1.9-7.2-4.4-9.7C184.8,163.6,181.5,161.9,177.7,161.9z M177.7,181.9
c-3.4,0-6.3-2.8-6.3-6.1c0-3.4,3-5.9,6.3-5.9c3.4,0,6.1,2.6,6.1,5.9C183.8,179.1,181,181.9,177.7,181.9z"/>
</g>
<g>
<path class="renew_path" d="M181.3,123.9c0-3.2-1.2-6.1-3.3-8.2c-2.1-2.1-5-3.2-8.2-3.2c-3.2,0-5.9,1.3-8,3.3c-2.1,2.1-3.6,4.8-3.6,8
c0,3.2,1.4,6,3.5,8.1c2.1,2.1,4.9,3.2,8.1,3.2s6.2-1,8.3-3.1C180.2,130.1,181.3,127.1,181.3,123.9z M166.1,123.9
c0-2.1,1.7-3.7,3.8-3.7c2.1,0,3.9,1.6,3.9,3.7s-1.8,3.9-3.9,3.9C167.8,127.8,166.1,126,166.1,123.9z"/>
</g>
</g>
</g>
</svg>
</button>

Once you have made your changes, remember to Save and Publish so they take effect.

Did this answer your question?