Skip to content

User Guide: Document more styling methods for NavBar #1113

Description

@nbriannl

image

In https://markbind.org/userGuide/usingComponents.html#navbars, we tell users that it is possible to customize the NavBar as follows

  • set type="none"
  • add add-class="..."

However, no real example was given for add-class. While working on my own Markbind site, I was frustrated that I couldn't color it accordingly what I wanted (which was plain red)

From #797 I discovered that adding bg-* into add-class is a great way to color the navbar, i.e.

<navbar type="primary" add-class="bg-info">

Can we mention this in the User Guide?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions