Adding a subtitle to a Bootstrap Navbar

2903 views html

I have a Bootstrap 4 website with a navbar. The navbar has a brand part with an image and title text, and then there's the rest of the navbar. You can see it here:

Now, I want to add a subtitle, under the title "A Digital Onomasticon". The problem is - the substitle is long, and I want it to extend below the nav links.

I tried everything I could think of and couldn't figure out how to do that.

NOTE: the answer to this question is not sufficient, as it yields something like this:

answered question

1 Answer


You could create a new div with right float and add the text.

Check this

<div style="float:right">
<h4>A Digital Onomasticon</h4>
<h6>Lorem Ipsum</h6></br>

posted this

Have an answer?


Please login first before posting an answer.