How to create different types of cookie consent bar for your website

Web cookies are text files used for collecting different types of visitor’s information. With the emergence of the GDPR Cookie consent law, it is mandatory to comply with the consent mechanism by which the user must be made aware of the use of cookies on their website. Even though this law is widely and mandatorily used in EU province, it is equally important for others also to respect the privacy of the users.

GDPR Cookie consent is a plugin which helps you to make your WordPress website GDPR compliant very easily. It consists of several features to create a cookie consent bar for your site. One prominent feature is its ability to add the consent banner to your website in three different manners. Let’s get into its details.

    1. First of all, install and activate the GDPR cookie consent plugin from your WordPress dashboard.
    2. Navigate to the GDPR cookie consent > Cookie law settings page.
    3. The General tab of the Cookie law settings page further subdivided into three options as a Cookie bar, Show again tab and others.
    4. The Cookie bar tab consists of settings for controlling the look and feel of the cookie bar.
    5. Cookie Bar can be set as is incorporated in this tab which consists of three options as a Banner, Pop up or as a Widget.

      GDPR Cookie Consent-Types of Cookie bar
      GDPR Cookie Consent-Types of Cookie bar
      • With the banner option, you get to choose if you want to place the banner in the header or footer. Here, I have placed the banner in the footer.
      • If the popup is chosen, then the cookie notification will be shown as a popup instead of a notification bar. You can set an overlay along with the popup, which will block the user from browsing the website unless consent is obtained.
        cookie-bar-as-popup with overlay
      • As for the widget, you can position it to the left or right of the website.
    6. However, the entire look and feel of the cookie bar can be customized from the themes tab. You can choose from several pre-defined templates from customized template options.
      GDPR Cookie Consent-Themes-Bar types
      GDPR Cookie Consent-Themes-Bar types

      From the themes tab, you can customize the banner in your favored style from the inbuilt templates.

Theme-Choose a Cookie Bar Template

You can even have a live preview of the selected template and customize it further to your desired style. Some of the cookie consent bar that can be designed using the GDPR Cookie consent plugin are the following:

    1. The bottom bar cookie banner
      Bottom bar cookie banner
      The bottom bar cookie banner
    2. Cookie bar as a popup
      Cookie Bar as a Popup
      Cookie Bar as a Popup
    3. Cookie bar as a widget
      Cookie bar as a widget
      Cookie bar as a widget


  • Was this article helpful ?
  • YesNo

Leave a Reply

Your email address will not be published. Required fields are marked *