HOW TO: Customize Your Privacy Policy Banner

SOLVE
Highlighted
Regular Contributor

Sorry @cbarley  I have one more question - is it possible to change the layout of the cookie notice? ie move the confirm button to be in line with the text rather than beneath it? Thanks in advance!!

Reply
0 Upvotes
Highlighted
HubSpot Moderator

Sure @tommitchell , pretty much any layout you might want is possible with CSS. Making the container that holds the buttons to be displayed as inline-block rather than block should help: 

 
Reply
0 Upvotes
Occasional Contributor

I have a question about this - not a visual change, but I want to have the banner with the HS cookie collection message that pops up on top of website when first enterting it - can it be uploaded with a 5 min delat? Is there a way to configure this? 

Thanks!

Reply
0 Upvotes
Highlighted
HubSpot Moderator

Hi, @Exp.

 

I wouldn't recommend doing that, but one way you could approach this by hiding the cookie banner by default with CSS:

 

#hs-eu-cookie-confirmation {
  display: none;
}

and then using JavaScript to reveal it with the setTimeout() method:

 

setTimeout(function(){
    document.getElementById("hs-eu-cookie-confirmation").style.display = "block";
}, 300000);

 

Isaac Takushi

HubSpot Developer Support
Reply
0 Upvotes