keith17300 Posted August 4 Share Posted August 4 Dear All, May i ask that, how could I make the homepage header to become "color->adaptive" and other pages headers are "color->solid". Thank you so much. Keith Link to comment
keith17300 Posted August 5 Author Share Posted August 5 (edited) In my homepage,https://www.ssi.com.hk/ I used a photo background in the section below the header, and I want a wide photo, so I turn the header "color->adaptive", which make the header transparent and show the below section photo. But, my other pages header also show the below section color, which i dont want. I want other pages header are "color->solid". Or, to be simple, how can i make the header color white expect the homepage? Thank you so much. Edited August 5 by keith17300 Link to comment
Solution tuanphan Posted August 6 Solution Share Posted August 6 You can use this to Website Tools > Custom CSS body:not(.homepage) header#header { background-color: #fff !important; } body:not(.homepage) header#header div.header-nav-item>a { color: #000 !important; } body:not(.homepage) span.current-language-name { color: #000 !important; } body:not(.homepage) header#header a.btn { background-color: #000 !important; color: #fff !important; } 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!) Link to comment
keith17300 Posted August 8 Author Share Posted August 8 (edited) On 8/6/2024 at 3:12 PM, tuanphan said: You can use this to Website Tools > Custom CSS body:not(.homepage) header#header { background-color: #fff !important; } body:not(.homepage) header#header div.header-nav-item>a { color: #000 !important; } body:not(.homepage) span.current-language-name { color: #000 !important; } body:not(.homepage) header#header a.btn { background-color: #000 !important; color: #fff !important; } Thank you so much. Its works! Furthermore, may i ask that, how can i make all the pages with blue color (hex,#358ECA) on the top of the header (pink arrow in the photos)? thank you so much. Thank you for your kind reply. Good luck. Good heal. example page: https://www.ssi.com.hk/ & https://www.ssi.com.hk/products/cleanroomhongkong Edited August 8 by keith17300 Link to comment
paul2009 Posted August 8 Share Posted August 8 2 hours ago, keith17300 said: Furthermore, may i ask that, how can i make all the pages with blue color (hex,#358ECA) on the top of the header Please see this thread: Did this help? Please give feedback by clicking an icon below ⬇️ keith17300 1 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. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
keith17300 Posted August 8 Author Share Posted August 8 (edited) 1 hour ago, paul2009 said: Please see this thread: Did this help? Please give feedback by clicking an icon below ⬇️ Thank you so much. Its works. I used below code from your shared link. <meta name="theme-color" content="#fff"> Edited August 8 by keith17300 paul2009 1 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