# Hubspot Cookie Banner

**URL:** <https://community.hubspot.com/t/hubspot-cookie-banner/89582>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [September 13, 2023, 5:11pm UTC](https://community.hubspot.com/t/hubspot-cookie-banner/89582 "2023-09-13T17:11:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndriiM](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@AndriiM](https://community.hubspot.com/u/AndriiM)\
**Post date:** [September 13, 2023, 5:11pm UTC](https://community.hubspot.com/t/hubspot-cookie-banner/89582/1 "2023-09-13T17:11:27Z")

</div>

Hi there, could you please let me know how i can create more customised design for Cookie Accept banner?

here is a quick loom overview of my issue and needs

https://www.loom.com/embed/3682503e13ef4f20885045c10fb56f57

Thank you so much for your help

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [September 20, 2023, 6:13am UTC](https://community.hubspot.com/t/hubspot-cookie-banner/89582/2 "2023-09-20T06:13:01Z")

</div>

Hello @AndriiM

If you want to customize the cookie banner in HubSpot, you can adjust the banner position and button background color.

Refer to the attached document for more information on the cookie banner style settings.

> **[Customize cookie tracking settings and consent banners (legacy)](https://knowledge.hubspot.com/privacy-and-consent/customize-your-cookie-tracking-settings-and-consent-banner)**
>
> Customize your cookie tracking settings and privacy policy alert in HubSpot. Learn to also view your contacts' interactions with the cookie policy banner.

If you want to customize it more, you can write your custom code on the template of website pages.

**Here are the steps to change the width and alignment of the cookie banner:**

Navigate to Settings \> Website \> Pages.

Click the Template tab.

In the Site header HTML field, paste the following CSS code:

```lia-code-sample
<style>

 #hs-banner-parent #hs-eu-cookie-confirmation {

 	max-width: 800px;

 margin: 0 auto;

 width: 100%;

 }

 #hs-banner-parent #hs-eu-policy-wording {

 	margin: 0 !important;

 text-align: center;

 }

 #hs-banner-parent #hs-eu-cookie-confirmation-buttons-area {

 	margin: 0 !important;

 justify-content: center !important;

 }

</style>

```
