peterbjerg Posted February 29, 2020 Share Posted February 29, 2020 Site URL: https://amal-testsite.squarespace.com Hi all In Squarespace 7.1, there is already build in options to choice both “fixed position” and “transparent” in EDIT SITE HEADER. BUT, it doesn’t work. When header is fixed, then transparency doesn’t work. Instead Is has default or choosen background color. so how do I set or code to get transparent header/navigation menu when it’s also fixed? test site: https://amal-testsite.squarespace.com password is: abcabc Link to comment
Solution tuanphan Posted February 29, 2020 Solution Share Posted February 29, 2020 Add to Home > Design > Custom CSS .tweak-transparent-header:not(.header--menu-open) .header-announcement-bar-wrapper { background: transparent; } _yohandeschamps_, ahstudiolondon, peterbjerg and 1 other 1 3 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
peterbjerg Posted February 29, 2020 Author Share Posted February 29, 2020 Thank YOU.. You ARE THE BEST!! Link to comment
peterbjerg Posted February 29, 2020 Author Share Posted February 29, 2020 @tuanphan Hmm... Transparency only works on some of the pages. For example, on this page: https://amal-testsite.squarespace.com/services2 The header background turns solid black??? Link to comment
tuanphan Posted February 29, 2020 Share Posted February 29, 2020 Add !important to after background: transparent !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
peterbjerg Posted February 29, 2020 Author Share Posted February 29, 2020 With this transparency turned OFF 😞 .tweak-transparent-header:not(.header--menu-open) .header-announcement-bar-wrapper { background: transparent !important; } Link to comment
tuanphan Posted February 29, 2020 Share Posted February 29, 2020 try .tweak-fixed-header .header .header-announcement-bar-wrapper { background: transparent !important; } peterbjerg 1 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
Adam_Davidson Posted April 1, 2020 Share Posted April 1, 2020 @tuanphan I just tried this solution. It made the menu transparent on scrolling, but the dropdown folders still maintained their opaque background. Any advice? I want to say this: for you and every other person who shares CSS expertise on these forums, I HUGELY appreciate you. I'm learning, but flail around with that part of design. Thank you, thank you. Link to comment
Adam_Davidson Posted April 2, 2020 Share Posted April 2, 2020 For that matter, do you know if it's possible to make the navigation background a transparent color, including the folder dropdowns? I tried everything that's worked for me in 7.0 and earlier to no avail. Link to comment
tuanphan Posted April 2, 2020 Share Posted April 2, 2020 12 hours ago, Adam_Davidson said: For that matter, do you know if it's possible to make the navigation background a transparent color, including the folder dropdowns? I tried everything that's worked for me in 7.0 and earlier to no avail. Can you share link to your site? 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
Wisemedia Posted May 12, 2020 Share Posted May 12, 2020 Came here as I'm having the same issue. On my home page I have a photo background so would love to make the navigation background and folder dropdowns transparent to be able to see the image. Presently the drop down is a black box. @tuanphan this is my first post in these threads which I have just discovered. I have implemented your code a few times already which has saved me big time, thankyou! Link to comment
tuanphan Posted May 13, 2020 Share Posted May 13, 2020 8 hours ago, Wisemedia said: Came here as I'm having the same issue. On my home page I have a photo background so would love to make the navigation background and folder dropdowns transparent to be able to see the image. Presently the drop down is a black box. @tuanphan this is my first post in these threads which I have just discovered. I have implemented your code a few times already which has saved me big time, thankyou! If you can share link, I can take a look 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
Wisemedia Posted May 14, 2020 Share Posted May 14, 2020 20 hours ago, tuanphan said: If you can share link, I can take a look Site: mattwisemanmedia.com Password: MWM123 Moreover, if you have a suggestion for how to make the photo category not all turn yellow - only the active page turn yellow - that would be awesome too. Thankyou! Link to comment
JOHNMD Posted May 14, 2020 Share Posted May 14, 2020 (edited) @Adam_Davidson@Wisemedia@tuanphanOn 7.1. first code line to fix header position. Second line to make drop down background transparent from folder. Set you header to transparent background in header pencil settings. .header#header {position: fixed!important;} .header-nav-folder-content { background: transparent!important; } - John Edited May 14, 2020 by JOHNMD DrewDisorder and tuanphan 1 1 mcgouran.john@gmail.com Link to comment
Wisemedia Posted May 14, 2020 Share Posted May 14, 2020 Perfect @JOHNMD that appears to have done it! Thankyou. Link to comment
muzakcat Posted June 12, 2020 Share Posted June 12, 2020 Hello, I am having similar issues with my header, it turned into a black box. I added this code that and it seems to have fixed the transparency issue. But the header does not stay fixed. Anyone have a suggestion? THANK YOU SOOO MUCH. https://www.thecardinalconcepts.com/ Quote .header#header {position: fixed!important;} .tweak-fixed-header .header .header-announcement-bar-wrapper { background: transparent !important; } Link to comment
tuanphan Posted June 12, 2020 Share Posted June 12, 2020 8 hours ago, muzakcat said: Hello, I am having similar issues with my header, it turned into a black box. I added this code that and it seems to have fixed the transparency issue. But the header does not stay fixed. Anyone have a suggestion? THANK YOU SOOO MUCH. https://www.thecardinalconcepts.com/ to enable fixed header, no need to use code. Hover on Header on Edit Mode > Click Edit Site Header > Style > Enable Fixed 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
muzakcat Posted June 16, 2020 Share Posted June 16, 2020 Thanks Tuanpahn, I checked and "Fixed Position" was selected, but the Fixed Header Style was on Basic. When I changed it to "scroll back" it works now. Thank you! Cathy Link to comment
Nat-C Posted June 21, 2020 Share Posted June 21, 2020 So I tried this and it worked well, but what I didn't take into account was that my menu text is white and the background color on most of my pages is also white. (Shoulda seen that coming.) Is there a way to make my header transparent when at the actual top of the page but turn solid white after scrolling past my top image? I'm pretty new to this so sorry if this is a kinda obvious question, but how are you guys sharing your sites? Are you sharing your actual administrator login and password? (I hope not!) Or is there a way to give someone access to view your site before it's live? Link to comment
tuanphan Posted June 22, 2020 Share Posted June 22, 2020 13 hours ago, Nat-C said: So I tried this and it worked well, but what I didn't take into account was that my menu text is white and the background color on most of my pages is also white. (Shoulda seen that coming.) Is there a way to make my header transparent when at the actual top of the page but turn solid white after scrolling past my top image? I'm pretty new to this so sorry if this is a kinda obvious question, but how are you guys sharing your sites? Are you sharing your actual administrator login and password? (I hope not!) Or is there a way to give someone access to view your site before it's live? Yes. You can. If your site is trial, you can setup password & share url 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
Nat-C Posted July 11, 2020 Share Posted July 11, 2020 (edited) On 6/22/2020 at 4:37 AM, tuanphan said: Yes. You can. If your site is trial, you can setup password & share url Thank you! That will make this process so much easier! Do you know of a way to make my fixed header transparent when at the actual top of the page but turn into non-transparent after scrolling past my top image? Edited July 11, 2020 by Nat-C Link to comment
tuanphan Posted July 11, 2020 Share Posted July 11, 2020 22 hours ago, Nat-C said: Thank you! That will make this process so much easier! Do you know of a way to make my fixed header transparent when at the actual top of the page but turn into non-transparent after scrolling past my top image? If you share link to your site, I 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!) Link to comment
Nat-C Posted July 21, 2020 Share Posted July 21, 2020 On 7/11/2020 at 3:44 PM, tuanphan said: If you share link to your site, I can check easier. The link is: https://grey-cranberry-c4ar.squarespace.com/ And temporary password is: banana22 Link to comment
tuanphan Posted August 25, 2020 Share Posted August 25, 2020 On 7/21/2020 at 10:15 AM, Nat-C said: The link is: https://grey-cranberry-c4ar.squarespace.com/ And temporary password is: banana22 Add to Home > Design > Custom CSS .header-announcement-bar-wrapper.black.shrink { background: red !important; } studiolinear and Nat-C 2 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
Nat-C Posted August 31, 2020 Share Posted August 31, 2020 On 8/25/2020 at 12:39 AM, tuanphan said: Add to Home > Design > Custom CSS .header-announcement-bar-wrapper.black.shrink { background: red !important; } OMG thank you! Do you happen to know what the color options are for the header? I changed it to black, which looks okay, but I was wondering if there might be another color option that would look better with my color scheme. 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