PattiG Posted March 27, 2021 Share Posted March 27, 2021 Site URL: https://www.emptymynest.com/ Hi, I added this custom code to change the color of the announcement bar but the text does not show up. Thoughts on bringing text forward? Thanks. .sqs-announcement-bar-url { background-color: #2C86C5; } .sqs-announcement-bar-text p, .sqs-announcement-bar-text a { color: #ffffff; } Link to comment
Solution paul2009 Posted March 27, 2021 Solution Share Posted March 27, 2021 (edited) 2 hours ago, PattiG said: .sqs-announcement-bar-url { background-color: #2C86C5; } .sqs-announcement-bar-text p, .sqs-announcement-bar-text a { color: #ffffff; } The CSS is incorrect. If you remove the lines above, your announcement bar will work as normal. You don't need CSS to modify the announcement bar colours. You can set them in Design > Site Styles: Edited March 27, 2021 by paul2009 tuanphan and PattiG 2 About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
PattiG Posted March 27, 2021 Author Share Posted March 27, 2021 Thank you, Paul! I had to take a few more steps but that worked. Many thanks for the guidance. paul2009 1 Link to comment
tuanphan Posted March 31, 2021 Share Posted March 31, 2021 On 3/27/2021 at 10:13 PM, PattiG said: Thank you, Paul! I had to take a few more steps but that worked. Many thanks for the guidance. Hey. I see the footer on tablet doesn't look good. You can add this CSS to adjust some columns width /* footer tablet */ @media screen and (max-width:991px) and (min-width:768px) { footer.sections .content { width: 90% !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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment