JusChow Posted September 2 Share Posted September 2 Currently on my home page I have my logo and links all in white. However I want to make my other pages have a white background and black heading. Is there a way I can change the header on my other pages so that they are black text/logo without changing my main home page. Link to comment
Lesum Posted September 2 Share Posted September 2 @JusChow You can try the code blocks below to display a black header background: For Portfolio page: #collection-64f2cd31da920c04bc6530b7 { header#header { background: #000 !important; } } For About page: #collection-64f2cd31da920c04bc6530b7 { header#header { background: #000 !important; } } For contact page: #collection-64f2cd31da920c04bc6530b7 { header#header { background: #000 !important; } } You just have to change the #collection-id on each block of code. Each page has their unique collection-id. You can find the collection-id of a page using this Chrome extension: https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
JusChow Posted September 2 Author Share Posted September 2 Is there a way to make it black just for the Text and a way to Chang Logo that I can upload to make it black. ? I would like to still keep the white background. Link to comment
Lesum Posted September 2 Share Posted September 2 (edited) @JusChow Sure. This block of code will change the logo and text links to black on the portfolio page: #collection-64f2cd31da920c04bc6530b7 { .header-title-logo img { filter: brightness(0%) !important; } .header-nav-item a { color: #000000 !important; } .header-actions .icon--fill svg { fill: #000000 !important; } } This code will convert the logo to black. You won't have to upload a black logo. Edited September 3 by Lesum Added the code to change the social icon to black If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
JusChow Posted September 2 Author Share Posted September 2 56 minutes ago, Lesum said: @JusChow Sure. This block of code will change the logo and text links to black on the portfolio page: #collection-64f2cd31da920c04bc6530b7 { .header-title-logo img { filter: brightness(0%) !important; } .header-nav-item a { color: #000000 !important; } } This code will convert the logo to black. You won't have to upload a black logo. Do I put this into the page settings under advanced? So far inputting the block of code into page settings advanced doesn't work. Link to comment
Lesum Posted September 3 Share Posted September 3 @JusChow Add it under custom CSS panel. If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
Solution Lesum Posted September 3 Solution Share Posted September 3 (edited) @JusChow You can put this version into page settings under advanced. <style> #collection-64f2cd31da920c04bc6530b7 { .header-title-logo img { filter: brightness(0%) !important; } .header-nav-item a { color: #000000 !important; } .header-actions .icon--fill svg { fill: #000000 !important; } } </style> Edited September 3 by Lesum Added the code to change the social icon to black If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
Lesum Posted September 3 Share Posted September 3 @JusChow Updated the previous code to add the color change affect to social icons. If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
JusChow Posted September 3 Author Share Posted September 3 Just now, Lesum said: @JusChow Updated the previous code to add the color change affect to social icons. Already read my mind. Appreciate it! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment