Topic: navbar text colour not changing with hover or click.
photokengoldstein-com-au pro asked 7 years ago
Marta Wierzbicka staff answered 7 years ago
Hi,
create your custom CSS file or put this code within <style></style>
tags on the top of your HTML file.
Best,
Marta
photokengoldstein-com-au pro commented 7 years ago
I did this. it works in the preview (using Dreamweaver CC), but when I upload to my site, it doesn't workMarta Wierzbicka staff commented 7 years ago
So, I need a file with your code to see what is wrong. You can send one to m.szymanska@mdbootstrap.com.photokengoldstein-com-au pro commented 7 years ago
I have just sent you a file. What I want to achieve is that the normal navbar text colour is black and the hover is blue. Also, I would like to make the navbar text bold.Marta Wierzbicka staff commented 7 years ago
I've sent you an answer to your email.Marta Wierzbicka staff answered 7 years ago
.navbar.navbar-dark .nav-item .nav-link:hover {
color: #CC0000!important;
}
.navbar.navbar-dark .nav-item .nav-link:focus {
color: #FF8800!important;
}
.navbar.navbar-dark .nav-item .nav-link:active {
color: #007E33!important;
}
.navbar.navbar-dark .nav-item .nav-link:visited {
color: #0099CC!important;
}
Best,
Marta
photokengoldstein-com-au pro commented 7 years ago
where would I put this code? which CSS file?FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: Yes