This topic has 12 replies, 2 voices, and was last updated 7 years ago ago by Rose Tyler
I’m using the Header Type no.6. It uses my main color as the color of the top bar. I would like the background to be white and font my normal font color. How do I do this?
Hello,
You may use this code to change colors of top bar:
.top-bar {
background-color: red;
color: white;
}
.top-bar a {
color: white !important;
}
How to create custom.css you can watch in this tutorial https://www.youtube.com/watch?v=Qok2zRedRMY.
Regards
Hi,
This css doesn’t seem to work for me. It doesn’t change anything.
Please provide link to your site. Did you add the code in custom.css file of parent theme or in style.css file of child theme?
Regards
I use a separate custom css plugin, because some reason I didn’t get the custom.css folder to work in the beginning. This plugin has been working fine though with other custom changes I have made to the site.
I can try to activate the custom.css file too again, if you help me. Am I supposed to add the code in custom.css file of parent theme or create a second custom.css file in child theme (i’m using child theme)?
Please change the previous code to:
.top-bar .wishlist-link a span, .top-bar a {
color: white !important;
}
.top-bar {
background-color: red !important;
color: white;
}
and add it in style.css file of child theme.
Regards
Now it changes the color to red and font white. I would like the font to be #464646 and the red part to be white.
Simply change color values in the code.
Regards
All else I can change but the hidden top bar arrow and icons stays white.
Please try this code:
.header-type-6 .top-bar li:before, .header-type-6 .top-bar a:before, .header-type-6 .top-bar .search .search-link:before, .show-top-panel:before {
color: #464646;
}
.header-type-6 .top-bar .wishlist-link a:hover span {
color: #464646 !important;
}
Regards
It worked, thanks!
You’re welcome!
Regards
The issue related to '‘Change header row color’' has been successfully resolved, and the topic is now closed for further responses