-
Hello, .navbar-nav {
--bs-nav-link-padding-x: 0;
--bs-nav-link-padding-y: 0.5rem;
--bs-nav-link-font-weight: ;
--bs-nav-link-color: var(--bs-navbar-color);
--bs-nav-link-hover-color: var(--bs-navbar-hover-color);
--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);
display: flex;
flex-direction: column;
padding-left: 0;
margin-bottom: 0;
list-style: none;
} I added in $navbar-color: $white But it doesn't change color. I also tried Do you know what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You are using CSS variables, but should use Sass variables. Add following to _bscore_variables.scss and change colors as you need. $navbar-light-color: rgba($black, .55);
$navbar-light-hover-color: rgba($black, .7);
$navbar-light-active-color: rgba($black, .9); Check these variables to edit the theme in more detail https://bootscore.me/documentation/theme/bootstrap-css-sass/#Advanced But if you just want to change the nav-link color to white, simply add |
Beta Was this translation helpful? Give feedback.
You are using CSS variables, but should use Sass variables.
Add following to _bscore_variables.scss and change colors as you need.
Check these variables to edit the theme in more detail https://bootscore.me/documentation/theme/bootstrap-css-sass/#Advanced
But if you just want to change the nav-link color to white, simply add
navbar-dark
class tonavbar
component in header.php instead adding CSS. See here in line 11 https://bootscore.me/documentation/header-php/#headerphp_at_a_glance or here https://getbootstrap.com/docs/5.2/components/navbar/#color-sch…