How can I style the cookie alert banner? I want it to be shown at the bottom of the window.
SOLVE
The cookie banner styling is located in the div id="hs-eu-cookie-confirmation" and div class="can-use-gradients". Unfortunately it's located in a system stylesheet, which is uneditable.
I tried adding these IDs/classes to my own stylesheet, but can't seem to get it to override the system stylesheet.
How can I style the cookie alert banner? I want it to be shown at the bottom of the window.
SOLVE
hi!
thanks for posting.
HS actually changed the css classes to apply the changes.
However, and here comes the time-saver, these only work if you don't have entered any custom stylings in the HS settings in the admin sections. Otherwise, HS will create a custom CSS stylesheet and will not allow you to overwrite the stylings in the code.
We use Hubspot in combination with a Wordpress site. But basicly we overide the css styling that comes out of the box with a !important styling. Not the prettiest to use but it is effective.
How can I style the cookie alert banner? I want it to be shown at the bottom of the window.
SOLVE
hi!
thanks for posting.
HS actually changed the css classes to apply the changes.
However, and here comes the time-saver, these only work if you don't have entered any custom stylings in the HS settings in the admin sections. Otherwise, HS will create a custom CSS stylesheet and will not allow you to overwrite the stylings in the code.