Jump to content

Change header colour and logo on one page

Recommended Posts

Posted (edited)

Hi there.

I'm trying to change the header colour and logo on one page of my website.

http://www.noahcollin.com/

Basically my website is light grey with black text and black logo. I want to change one page so the header is black with white type and white logo. (but the page background remains the same colour). So it looks like the attached image. Almost an inverted version of the header if that makes sense.

If someone could help i'd appreciate it a lot!

Note: I have already put in custom CSS to give me that header in the first place as it's not part of the template (AVENUE)

Thanks,N

screen-shot-2017-02-23-at-233825.png.cbb8c5f1a1bfc73269dcca5d51fcddd4.png

Edited by noah_collin
Initial Revision
Posted

I'd suggest you look at your custom code first, then try to style it further. The changes you make to fix the current issues will likely change the answer to your question. This is what it currently looks like on mobile:

alt text

screen-shot-2017-02-24-at-102626.png.dc8af21cb879909fa44033a91301ac67.png

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

Hi Noah,

You'll need custom code for this...Paste this into the header code injection area of that index only (you'll need to also alter the logo image which seems like it has been custom coded in):


<style>
#header {background-color: #111 !important;}
#header a {color: #fff !important;}
</style>

Let me know how you get on!SquareStud.io

Posted

Hi Paul,

Thanks for the update. Yeah the custom code i put in for my header makes it do this.

However I'm on my mobile now and it doesn't show like it does in your attached picture. I disabled mobile settings so it appears the same as it does on desktops. So it looks like a mini website almost.

Not ideal, but I don't know how to code it so the header and links shrink down with it. But always open to suggestions :P haha.

Thanks very much!

Posted

Hey, this is brilliant!!!! Thank you so much.

I'm really quite useless with code: do you know if I'm able to do this with my footer also?

And in regards to your comment about the logo image. Yes I have coded that in there so it sits where it does (in the middle, on top of the header etc.)

Do you know if it's possible to some how invert the logo or upload a white version just for that page.

Any help would be much appreciated! Thank you!

Posted

Forgot to add:

Basically going to have another link on my page for ILLUSTRATION. And when you click that link i want the header and footer to turn black (which that code has done)

But i also want the logo to change white so you can see it.

  • 3 years later...
Posted

@SquareStudio I tried using this code on my page www.flygeorge.com/why-george and it didn't work. I used the following code.. any suggestions?

 

<style>
#header {background-color: #fffff !important;}
#header a {color: #093f35 !important;}
</style>

Posted
13 hours ago, laurasharp said:

@SquareStudio I tried using this code on my page www.flygeorge.com/why-george and it didn't work. I used the following code.. any suggestions?

 

<style>
#header {background-color: #fffff !important;}
#header a {color: #093f35 !important;}
</style>

You want to change header logo color? Use this code

Can you share access password?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 1 year later...
Posted (edited)
On 2/24/2017 at 8:35 AM, SquareStudio said:

This code worked great for me- thanks! But my social icons didn't change color, do you have the code for that?

---------------------------------------------

Hi Noah,

You'll need custom code for this...Paste this into the header code injection area of that index only (you'll need to also alter the logo image which seems like it has been custom coded in):

 
<style>
#header {background-color: #111 !important;}
#header a {color: #fff !important;}
</style>

 

Edited by laurensmithart
  • 1 year later...
Posted

Hello,  I have selected a solid header for my test page in the website settings. Can I change the color of this header background from page to page? For example, on one page a blue navigation header, on the other page a red one.

Posted
On 4/21/2023 at 4:44 PM, Trawww said:

Hello,  I have selected a solid header for my test page in the website settings. Can I change the color of this header background from page to page? For example, on one page a blue navigation header, on the other page a red one.

You can change First Section Color to achieve this

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.