I currently have a fixed navbar implemented using Bootstrap 4.
<div class="navbar navbar-expand-lg navbar-dark bg-dark container">
<a href="http://jthink.net/index.jsp" class="navbar-brand">
JThink
</a>
...
To accommodate the size of the fixed nav bar, I have added padding to the body tag.
<body style="padding-top: 100px;">
However, if the screen size is not wide enough for the nav bar (e.g., on a phone), the navbar extends in height to fit links. As a result, 100px of padding may not be sufficient to prevent content from being obscured by the nav bar.
What would be the best approach to address this issue?
You can view the actual page I am working on here: