x
Beta Member

How to make Website sticky header in website design colours

Hello,

I'm trying to set the Sticky Header to have the same background colour as the website.

Unfortunately I can not seem to change the Sticky Header background colour and it does not pick up the default Site design or the Custom Background colour set on the header.

 

Please can you tell me how to change the colours of the sticky header on the website?

Or if not possible add this as a Feature Request...

Many thanks

1,725 Views
Message 1 of 11
Report Inappropriate Content
1 Best Answer
Admin

Best Answer

Thanks for bearing with me on this @BreweryTap! I think I got to the bottom of this.

 

With the sticky header, when you scroll, the header will turn the colour of the site background. In order to change the colour for the scrolling header, you'll need to update this from Website > Edit Site > Site Design > Advanced colour options.

 

Screenshot 2021-04-27 at 17.27.59.png

 

Tra | she/her
Community Engagement Program Manager, Square
Have a burning question to ask in our Question of the Week? Share it with us!

View Best Answer >

1,704 Views
Message 6 of 11
Report Inappropriate Content
10 REPLIES 10
Admin

Hey @BreweryTap, thanks for sharing this!

 

There are some limitations to customising the sticky header but you should definitely be able to use the site colour as the background colour for it.

 

To do so, head to your Square Online site overview > Website > Edit Site. From here, click into the header. It'll then give you this menu below. Click into Customise.

 

Screenshot 2021-04-27 at 12.41.35.png

 

 

Within this, you'll be able to change the background colour. If you select Custom colour, it'll actually give you the site colour palette for you to choose from.

 

Screenshot 2021-04-27 at 12.42.21.png

 

Screenshot 2021-04-27 at 12.42.55.png

 

I hope this will help!

 

Tra | she/her
Community Engagement Program Manager, Square
Have a burning question to ask in our Question of the Week? Share it with us!
1,718 Views
Message 2 of 11
Report Inappropriate Content
Beta Member

Hi Tra,

Thanks for your suggestion.

I tried this and the Sticky Header colour has not changed.

 

I have screen shots, but have no permission to load the here.

If you try it again but select a darker colour for the header you should see what I see.

I'm using a header colour #Hex = #0F1B29  which is the same as the site main background colour

Thanks

 

1,715 Views
Message 3 of 11
Report Inappropriate Content
Admin

Thanks for letting me know @BreweryTap! I wasn't able to replicate the issue fully on my end, so I want to make sure I'm not missing anything. Is the header colour you're looking to use also the main colour for the site design?

 

Screenshot 2021-04-27 at 15.19.34.png

 

If so, you should definitely be able to select and change it. There are just some additional troubleshooting steps I'd like us to try before escalating this further as well:

  • Make sure your browser is up to date.
  • Clear the cache on your browser. Access the Help menu of your browser to locate step-by-step instructions.
  • Switch to a supported browser, such as Google Chrome.

Let me know if that will help!

Tra | she/her
Community Engagement Program Manager, Square
Have a burning question to ask in our Question of the Week? Share it with us!
1,711 Views
Message 4 of 11
Report Inappropriate Content
Beta Member

Hi Tra,

 thanks for your reply.

yes the header colour is the main site colour.

I have no problem selecting it for the header and no problem applying it either.

I find that it is not applied to the sticky header. I only see this in the live site.

Please check www.craftbrewsuk.square.site

 

 Use chrome, cache clearing make no difference.

Version 90.0.4430.93 is up to date 

I tried using MS Edge and iOS safari and see the same result in all three.


thanks

 

1,709 Views
Message 5 of 11
Report Inappropriate Content
Admin

Best Answer

Thanks for bearing with me on this @BreweryTap! I think I got to the bottom of this.

 

With the sticky header, when you scroll, the header will turn the colour of the site background. In order to change the colour for the scrolling header, you'll need to update this from Website > Edit Site > Site Design > Advanced colour options.

 

Screenshot 2021-04-27 at 17.27.59.png

 

Tra | she/her
Community Engagement Program Manager, Square
Have a burning question to ask in our Question of the Week? Share it with us!
1,705 Views
Message 6 of 11
Report Inappropriate Content
Beta Member

Hi Tra,

 thanks for this option. It does change the sticky header colour, which is great.

Is there a way to change or set the site background to be the same as one of the site colours? The main or accent colour or to even pick a custom colour so that it can be matched to the header?

 

 Thanks again

 

1,702 Views
Message 7 of 11
Report Inappropriate Content
Beta Member

@BreweryTapIs your site published?

I went to have a look and all I get is security SSL errors saying that the certificate is not valid or a page not available error.

1,700 Views
Message 8 of 11
Report Inappropriate Content
Beta Member

Hi @SGM1

Yes published

Cheers

1,693 Views
Message 9 of 11
Report Inappropriate Content
Beta Member

Site looks great and no errors when viewing now.

 

Who are you using for your pop up cookie approval?

1,679 Views
Message 10 of 11
Report Inappropriate Content
Beta Member

Thanks @SGM1 

We generated the cookie code for free in https://www.iubenda.com/en/cookie-solution

1,642 Views
Message 11 of 11
Report Inappropriate Content