noah_collin Posted February 23, 2017 Posted February 23, 2017 (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 Edited February 23, 2017 by noah_collin Initial Revision
noah_collin Posted February 23, 2017 Author Posted February 23, 2017 http://www.noahcollin.com/index-test ^^^^^ This is the page I would like to change the header from grey to black
paul2009 Posted February 24, 2017 Posted February 24, 2017 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: 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.
SquareStudio Posted February 24, 2017 Posted February 24, 2017 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 zoester300 1
noah_collin Posted March 1, 2017 Author Posted March 1, 2017 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!
noah_collin Posted March 1, 2017 Author Posted March 1, 2017 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!
noah_collin Posted March 1, 2017 Author Posted March 1, 2017 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.
laurasharp Posted July 21, 2020 Posted July 21, 2020 @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>
tuanphan Posted July 22, 2020 Posted July 22, 2020 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!)
laurensmithart Posted February 14, 2022 Posted February 14, 2022 (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 February 14, 2022 by laurensmithart
Trawww Posted April 21, 2023 Posted April 21, 2023 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.
tuanphan Posted April 22, 2023 Posted April 22, 2023 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!)
frescova Posted July 6, 2023 Posted July 6, 2023 Looking for a solution as well; I tried the recommendation and it did not work on my page - 7.1 Thanks
tuanphan Posted July 7, 2023 Posted July 7, 2023 10 hours ago, frescova said: Looking for a solution as well; I tried the recommendation and it did not work on my page - 7.1 Thanks What is page url? We can check easier 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment