Cookies Button alignment

Hi Guys,

I want to align the cookies button to the right of the page, it automatically goes to the left, I have tried amending the code with no luck.

This is the code HubSpot generates.

<!-- Start of HubSpot code snippet -->

<button type=“button” id=“hs_show_banner_button”

style="background-color: #425b76; border: 1px solid #425b76;

border-radius: 3px; padding: 10px 16px; text-decoration: none; color: #fff;

font-family: inherit; font-size: inherit; font-weight: normal; line-height: inherit;

text-align: left; text-shadow: none;"

onClick="(function(){

var _hsp = window._hsp = window._hsp || [];

_hsp.push([‘showBanner’]);

})()"

>

Cookie Settings

</button>

<!-- End of HubSpot code snippet -->

Can someone tell me how I align the code to the right, please?

Thank you,

David

@DavidJKenton hi. I don’t know if this solution to a similar but different issue would help (I’m not a dev and code makes me itchy) but I found this: how to center align buttons and it includes some code.

Additionally, I might post this question in the Developers area to see if other devs can help. Here in the marketing area, I think you’ll find fewer developers and more marketers who try to avoid code. :sweat_smile: