kellycheerup Posted October 21, 2019 Share Posted October 21, 2019 I have successfully removed the banner image from blog posts in the Bedford template. However, I can't figure out how to change the colour of the links in the top navigation along with the drop down menu background and the border around the Contact link. Help please? I've put the banner image back on for now while I try to work it out. My site is: www.cheerupmarketing.com Link to comment
christyprice Posted October 21, 2019 Share Posted October 21, 2019 (edited) Try this... it works on my demo site: /* invert logo on blog post pages */ .collection-type-blog #logoImage { -webkit-filter: invert(100%); filter: invert(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(invert='1'); } /* invert nav on blog post pages */ .collection-type-blog #mainNavigation { -webkit-filter: invert(100%); filter: invert(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(invert='1'); } Edited October 21, 2019 by christyprice christyprice.com 🇺🇸 Austin, TX US ✅ Get my Starter Template for Web Designers 🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz) 🎬 Watch It's Not Hard to Say Goodbye: Crafting Client Offboarding from Circle Day 2023 Link to comment
kellycheerup Posted October 22, 2019 Author Share Posted October 22, 2019 That's done it! Thank you. Do you know if there's a way to make the font colour an alternative colour to black? Link to comment
christyprice Posted October 22, 2019 Share Posted October 22, 2019 @kellycheerup glad it worked for you! Also, if you could like my posts (the heart button in the lower right), it shows that I was helpful. 🙂 I can get you started on the font color... this should change the color for the links and the folder... maybe someone else can jump in with the button code. /* change nav color on blog post pages */ .collection-type-blog #headerNav a { color: #990000 !important; } #mainNavigation .folder-toggle { color: #990000 !important; } jacqste 1 christyprice.com 🇺🇸 Austin, TX US ✅ Get my Starter Template for Web Designers 🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz) 🎬 Watch It's Not Hard to Say Goodbye: Crafting Client Offboarding from Circle Day 2023 Link to comment
kellycheerup Posted October 22, 2019 Author Share Posted October 22, 2019 Thanks. I am swapping out the hex colour code but it isn't giving me the right colour! Any ideas why? They are the same hex values used elsewhere on my site. Link to comment
MarcusAurelius Posted January 10, 2022 Share Posted January 10, 2022 Is there a version of this code that works on 7.1? Link to comment
tuanphan Posted January 11, 2022 Share Posted January 11, 2022 21 hours ago, MarcusAurelius said: Is there a version of this code that works on 7.1? With blog page, use this code body[class*="collection-type-blog"] header#header a { color: blue !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
z03 Posted September 5, 2022 Share Posted September 5, 2022 I've used the code below on version 7.1 and it worked great for the top nav, but now I need to add code to change the font colour of the drop down menu on the blog page. Can you help? body[class*="collection-type-blog"] header#header a { color: blue !important; } Link to comment
tuanphan Posted September 5, 2022 Share Posted September 5, 2022 9 hours ago, z03 said: I've used the code below on version 7.1 and it worked great for the top nav, but now I need to add code to change the font colour of the drop down menu on the blog page. Can you help? body[class*="collection-type-blog"] header#header a { color: blue !important; } Dropdown item or dropdown background? Blog list page or individual posts? 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