Skip to content

customize font navbar #4938

Answered by Siemienik
rafaelrdealmeida asked this question in Q&A
Discussion options

You must be logged in to vote

instead of :root you may use nav.navbar selector and set variables in the scope of the navbar.

example:

nav.navbar {
    --ifm-font-family-base: 'Josefin Sans', sans-serif;
    --ifm-navbar-background-color: red;
}

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@rafaelrdealmeida
Comment options

@Siemienik
Comment options

@rafaelrdealmeida
Comment options

@slorber
Comment options

@rafaelrdealmeida
Comment options

Answer selected by rafaelrdealmeida
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