MichaelG_2001 Posted October 23, 2020 Share Posted October 23, 2020 Hi there. I'm trying to find a bulletproof way to have the logo in the site header overlap into the banner section in SS 7.0. I'm not a coder by trade, so I rely on various tutorials I can find to solve design problems. I'm currently using this bit of code to move the logo into the correct place: .Header-inner div[data-nc-container="bottom-left"] { position: relative; top: -100px; } The logo is positioned Bottom Left, while the main nav is placed Upper Right in order to keep it in the whiteground bar. It works perfectly until I add in two social links I need next to the nav in the Upper Right. At that point, the main nav ceases to work. If I move the social links at Bottom Right, the nav actually works but the social icons are in a random place over the image and not where they need to be. Not sure if this is related, but the Social Icons themselves have gone haywire too. The actual logos of the social sites (Insta & FB) are not visible, though the shapes that carry them are. Any advice is greatly, greatly appreciated. Thanks! Michael Link to comment
MichaelG_2001 Posted October 23, 2020 Author Share Posted October 23, 2020 (edited) One clue: if I change the code from -100px to -30px, the links suddenly work, but then the logo is floating out of position. .Header-inner div[data-nc-container="bottom-left"] { position: relative; top: -30px; } Edited October 23, 2020 by MichaelG_2001 Link to comment
paul2009 Posted October 23, 2020 Share Posted October 23, 2020 When you post a question, it will really helps us if you include a working link to the page. If your site isn't live yet, bear in mind that we will only be able to view it if you set a site password and tell us what it is. About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
MichaelG_2001 Posted October 23, 2020 Author Share Posted October 23, 2020 Hi there. Yeah, it's in development. Password: SSStagPasswordhttps://oleander-pomegranate-ka8f.squarespace.com/?p&p Does that do the trick? Michael Link to comment
MichaelG_2001 Posted October 23, 2020 Author Share Posted October 23, 2020 Currently working around the problem by frankensteining in a different bit of code I found, so it looks like this: .Header-inner div[data-nc-container="top-left"] { position: relative; top: -30px; } .Header-branding-logo { margin-bottom: -150px; position: relative; z-index: 5000; } The problem with the logos of the social icons remains. Link to comment
paul2009 Posted October 23, 2020 Share Posted October 23, 2020 39 minutes ago, MichaelG_2001 said: Does that do the trick? No. The site password has not been set. About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
MichaelG_2001 Posted October 23, 2020 Author Share Posted October 23, 2020 NM, I think I found a workaround. Thanks for your time, tho. Link to comment
MichaelG_2001 Posted October 23, 2020 Author Share Posted October 23, 2020 This code (along with some adjustment of Minimum Height for the banner) solved the problem. .Header-inner div[data-nc-container="top-left"] { position: relative; top: -30px; } .Header-branding-logo { margin-bottom: -150px; position: relative; z-index: 5000; } I fixed the social icon problem by stripping the coding out, saving it, and then dumping it back in. Hope that will take care of it. m 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