<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<div class="container-fluid">
<div class="row">
<ul class="custom-navbar">
<li><a href="#" class="active">Tooltip Bottom</a>
</li>
<li><a href="#home" class="titletip">Home<span class="textBottom">Home</span></a>
</li>
<li><a href="#relatives" class="titletip">Relatives<span class="textBottom">Relatives</span></a>
</li>
<li><a href="#notifications" class="titletip">Notifications<span class="textBottom">Notification</span></a>
</li>
<li><a href="#inbox" class="titletip">Inbox<span class="textBottom">Inbox</span></a>
</li>
<li><a href="#settings" class="titletip">Settings<span class="textBottom">Settings</span></a>
</li>
</ul>
</div>
<hr />
<div class="row">
<ul class="custom-navbar">
<li><a href="#" class="active">Tooltip Top</a>
</li>
<li><a href="#home" class="titletip">Home<span class="textTop">Home</span></a>
</li>
<li><a href="#relatives" class="titletip">Relatives<span class="textTop">Relatives</span></a>
</li>
<li><a href="#notifications" class="titletip">Notifications<span class="textTop">Notification</span></a>
</li>
<li><a href="#inbox" class="titletip">Inbox<span class="textTop">Inbox</span></a>
</li>
<li><a href="#settings" class="titletip">Settings<span class="textTop">Settings</span></a>