Skip to content

Change nav-link color #208

Answered by crftwrk
KatyPurry asked this question in Q&A
Aug 11, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

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 navbar-dark class to navbar 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…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@KatyPurry
Comment options

@justinkruit
Comment options

@crftwrk
Comment options

Answer selected by KatyPurry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants