AlexMar Posted October 3, 2023 Posted October 3, 2023 Hi everyone, I've been updating our website and found lots of help on these forums but can't find a particular solution to the following problem: I used custom CSS to make sure the same colour header appears on all pages, including blog posts and worked marvellously. However, now that the blog posts header is also this shade of dark blue, the text remained black instead of white (how it's on all other pages) and the button colour must be white with black/dark blue text to stand out. How can I get this fixed so it's matching throughout the website? The custom CSS I used for the header on the blog posts is the one shown in this article. Thank you all in advance!
tuanphan Posted October 5, 2023 Posted October 5, 2023 Hi, Can you share link to a blog post on your site? We can check/test new code easier 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!)
AlexMar Posted October 9, 2023 Author Posted October 9, 2023 Thanks for your response. You can see how it looks here.
Solution tuanphan Posted October 12, 2023 Solution Posted October 12, 2023 On 10/9/2023 at 7:51 PM, AlexMar said: Thanks for your response. You can see how it looks here. You can add this CSS code to change header nav - button color body[class*="type-blog"].view-item div.header-nav-item>a { color: white !important; } body[class*="type-blog"].view-item a.btn { border: 1px solid white !important; } body[class*="type-blog"].view-item:not(.header--menu-open) .burger-inner>div { background-color: white !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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment