# Squarespace Header Second Button

**URL:** <https://community.elfsight.com/t/squarespace-header-second-button/172256>\
**Category:** Platform Tips\
**Tags:** squarespace\
**Created:** [August 21, 2026, 7:06am UTC](https://community.elfsight.com/t/squarespace-header-second-button/172256 "2026-08-21T07:06:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuanphan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tuanphan/32/3165_2.png) [@tuanphan](https://community.elfsight.com/u/tuanphan)\
**Post date:** [August 21, 2026, 7:06am UTC](https://community.elfsight.com/t/squarespace-header-second-button/172256/1 "2026-08-21T07:06:17Z")

</div>

**Description**

- adding second button to header, you can change style, position of second button

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/8/3/83eba61f025ab55df3507e5d59e28803d8625131.png)

**#1.1.** You can use this code to Code Injection \> Footer

- If you use Personal/Basic Plan and your plan doesn’t support Injection, you can see #3.1

```auto
<!-- 08.26c18v2 Header Second Button -->
<script>
window.SupportButtonConfig = {
  buttonText: 'SUPPORT PORTAL',
  buttonUrl: 'https://google.com',
  insertSelector: 'a.btn',
  insertPosition: 'before',
  backgroundColor: '#f1f',
  textColor: '#fff',
  borderColor: '#f1f',
  hoverBackgroundColor: '',
  hoverTextColor: '',
  hoverBorderColor: '',
  marginRightDesktop: '10px',
  marginRightMobile: '10px',
  marginBottomDesktop: '0px',
  marginBottomMobile: '0px'
};
</script>
<script src="https://code.beaverhero.com/header/0826c18v2headersecondbutton.js"></script>

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/3/2/32dd998392866d9311fbc3c8b156efaa9a6e46cc.jpeg)

**#1.2.** You can change button text/button url in Line 04, Line 05

```auto
buttonText: 'SUPPORT PORTAL',
buttonUrl: 'https://google.com',

```

**#1.3.** You can change button color in Line 08 – Line 13

```auto
backgroundColor: '#f1f',
  textColor: '#fff',
  borderColor: '#f1f',
  hoverBackgroundColor: '',
  hoverTextColor: '',
  hoverBorderColor: '',

```

**#3.1.** If you use Personal/Basic Plan and your plan doesn’t support Injection, you can edit Site Footer \> Add a Markdown Block

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/a/5/a5b7c63b8bf5d6bd492784a712cbb1709ce8e8e0.png)

Add this code into Markdown

```auto
<script>
window.SupportButtonConfig = {
  buttonText: 'SUPPORT PORTAL',
  buttonUrl: 'https://google.com',
  insertSelector: 'a.btn',
  insertPosition: 'before',
  backgroundColor: '#f1f',
  textColor: '#fff',
  borderColor: '#f1f',
  hoverBackgroundColor: '',
  hoverTextColor: '',
  hoverBorderColor: '',
  marginRightDesktop: '10px',
  marginRightMobile: '10px',
  marginBottomDesktop: '0px',
  marginBottomMobile: '0px'
};
</script>
<script src="https://code.beaverhero.com/header/0826c18v2headersecondbutton.js"></script>

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/1/2/12f8b369b0229ee5b644a7e75eba55108ef65bb4.png)
