<style>
    .navbar-brand{margin-top:0px;margin-bottom:0px;color:#332577 !important;font-weight:600;text-align:center;font-size:14px;}
    .navbar{padding-top:0px; padding-bottom:0px;height:100px;box-shadow:0px 0px 5px silver;}
</style>

<nav class="navbar fixed-top navbar-light bg-white">
  <!--<div class="container-fluid">-->
    <a class="navbar-brand" href="<?php echo base_url();?>Home/profile"><img src="<?php echo base_url();?>assets/student-profile-pic.jpg" style="height:65px;width:auto;margin-top:0px;margin-bottom:0px;border-radius:50%;"><br><?php echo $this->session->userdata('student_name');?></a>
    <a class="navbar-brand" href="<?php echo base_url();?>Home/profile"></a>
    <a href="#" class="navbar-brand"><?php echo $this->session->userdata('ac_year');?></a>
    
  <!--</div>-->
</nav>