Simon-JustGoodJuju Posted January 27, 2020 Share Posted January 27, 2020 I just can't seem to make this work! All I am trying to do is make the whole header area (Announcement Bar + Header (Logo, Navigation, Shopping Cart, etc.) stay visible at the top of each page. HELP Site is www.justgoodjuju.com Link to comment
tuanphan Posted February 1, 2020 Share Posted February 1, 2020 I see you fixed this? I see you used position: fixed but you can also position: sticky, I think it will better 😂 header.Header.Header--top { position: sticky; position: -webkit-sticky; top: 0; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Simon-JustGoodJuju Posted February 15, 2020 Author Share Posted February 15, 2020 Thanks! Link to comment
Simon-JustGoodJuju Posted February 15, 2020 Author Share Posted February 15, 2020 So I did as you suggested: header.Header.Header--top { z-index: 9998; position: sticky; position: -webkit-sticky; top: 0; background-color: hsl(26, 36%, 92%); } But now I am getting a white stripe below the header and above the banner image. All images have the following: .image-block { width:100%; padding-top:0 !important; padding-left:0 !important; padding-right:0 !important; } I can't seem to work out where the white stripe is coming from as the image is right at the top of the page. Any ideas? Link to comment
tuanphan Posted February 16, 2020 Share Posted February 16, 2020 15 hours ago, Simon-JustGoodJuju said: Add to Home > Design > Custom CSS .Main-content { padding-top: 0; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Simon-JustGoodJuju Posted February 17, 2020 Author Share Posted February 17, 2020 That did it - thanks! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.