SHDMarketing Posted March 25, 2021 Share Posted March 25, 2021 Site URL: http://poppytroupe.com PW for the site is homes4life I was able to add the logo to the video banner but would love help removing the auto-text and fixing the cropping on the logo. Thank you! Susan Link to comment
WillMyers Posted March 25, 2021 Share Posted March 25, 2021 Hey Susan, By Auto-Text do you mean the "Home" text on top? If so this should remove that and fix the logo Image: [data-collection-id="5e909ca0ed1cf41f4de09f7b"] h1{ opacity:0; } #collection-5e909ca0ed1cf41f4de09f7b .banner-overlay:after{ background-size: contain !important; } That first list makes the "Home" text fully transparent, you could change the property-value to display:none; but that's going to reduce the size of your header. That second piece of CSS is actually just overriding what you initially have in the Custom CSS area for the logo image. Ideally, you'd just replace the background-size value in what you already have from cover to contain then you wouldn't even need that second piece. Hope this helps! SHDMarketing and tuanphan 2 Hey-o, my name is Will and I help Squarespace designers and developers with technical things. I would be happy to answer any questions you have about Javascript, CSS, or the meaning of life - although I'm only an expert in 2 of these. Check out my plugin store or sign up for my newsletter. Link to comment
SHDMarketing Posted March 26, 2021 Author Share Posted March 26, 2021 Thank you so much Will, this is great. However, now there are 2 logos? Do you know how to address that? Thank you! Link to comment
WillMyers Posted March 26, 2021 Share Posted March 26, 2021 Ahh, yes. The default for the background property is to repeat (to me this seems like a relic of Internet past). So we'll need to set the background-repeat property to no-repeat and let's also center that logo up with background-position. Add these two into that :after pseudo-element: #collection-5e909ca0ed1cf41f4de09f7b .banner-overlay:after { background-repeat: no-repeat; background-position: center; } Hey-o, my name is Will and I help Squarespace designers and developers with technical things. I would be happy to answer any questions you have about Javascript, CSS, or the meaning of life - although I'm only an expert in 2 of these. Check out my plugin store or sign up for my newsletter. Link to comment
SHDMarketing Posted March 26, 2021 Author Share Posted March 26, 2021 Amazing, thank you soooo much Will! 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