Home > Enterprise >  how can i make the sidebar footer static and elements of sidebar nav scrollable?
how can i make the sidebar footer static and elements of sidebar nav scrollable?

Time:10-16

how can i make the sidebar footer static and elements of sidebar nav scrollable?

I tried several ways though. One is overflow:auto;. But it didn't work . So what i basically want is static sidebar-footer and elements of sidebar nav scrollable.

.sidebar{
  display: block;
  position: fixed;
  height: calc(100vh - 50px);
  top: 51.5px;
  left: 0;
  background-color: #fff;
  width: 15.625rem;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
  z-index: 0;
  transition: all 0.5s ease;
}
.open.sidebar {
  display: block;
}
#mySidebar{
  transition:all 0.2s linear;
  /*transform:translateX(-250px);*/
}
#mySidebar.open{
  transform:translateX(0);
}
.sidebar-header{
  padding: 0px;
  width: 100%;
  background: rgba(0, 136,169, 1);
  height: 3rem;
}
.sidebar-header .profile{
  display:  flex;
  color: #fff;
}
.profile .profile-image img{
  flex-wrap: wrap;
  pointer-events: none;
  border-radius: 50%;
  width: 40px;
  float: none;
  display: block;
  object-fit: fill;
  height: 40px;
  margin-left:  20px;
}
.profile .profile-name{
  display: inline-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px 0 5px;
  font-size: 14px;
  font-weight: 600 !important;
}
.profile .profile-name i{
  margin: -2px 5px 0 2px;
  font-size: 16px;
}
.profile-stats{
  margin: 10px 0;
  color: #fff;
  font-size: 12px;
  display: flex;
  flex-direction: row;
  gap:  0.25rem;
  align-items: center;
  cursor: pointer;
}
.profile-stats .stats{
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
}
#followerCount, #mediaCount,#followingCount{
  font-size: 10px;
}
.sidebar-nav{
margin: -0.5rem 0;
overflow: auto;
}
.sidebar-nav ul {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    list-style:none;
    padding: 0 15px;
    line-height: 30px;
    overflow:auto;
}
.sidebar-nav ul li{
    width:100%;
    color:#007bff;
    padding:  5px 10px;
    margin: 1px 0;
}
.sidebar-nav ul li a{
    text-decoration:none;
}
.sidebar-nav ul .active,
.sidebar-nav ul .active a .icon{
    background:#007bff;
    color: #ffffff;
    border-radius: 10px;
}

.sidebar-nav ul li:hover,
.sidebar-nav ul li:hover a .icon, 
.sidebar-nav ul li:hover a{
    background:#007bff;
    color: #ffffff;
    border-radius: 10px;
}
.sidebar-nav ul li a .icon{
  color:#007bff;
  width:30px;
  display: inline-block;
}
.sidebar-nav .sidebar-nav-header{
  text-transform: uppercase;
  font-size: 11px;
  margin: -0.75rem 1.5rem;
  color:#0c7db1;
}
.sidebar-footer{
  position: absolute;
  bottom:  0;
  background: #FF7F50;
  width: 100%;
  height:  3rem;
  text-align: center;
}
.sidebar-footer span a{
  display: block;
  position: absolute;
  color: #fff;
  background: #FF7F50;
  font-weight:  600 !important;
  margin-top: 5%;
  margin-left: 70px;
  text-decoration:none;
}
.sidebar-footer span i{
  width: 30px;
  font-size: 16px;
}
<div  id='mySidebar'>
    <div >
        <div >
            <div >
                <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAADbCAMAAABOUB36AAABs1BMVEX////68vBbW1sr/zIAAAA8PDzd1dP9 fg1NTX99fP/ PZeXl40NDQxMTE7Ozs/Pz8tLS3j29kmJiZJSUkhISEcHBwUFBT/kpmFhYX27uxSUlIZGRlEREQODg5XV1dSXFz/4ePf39//lp3/vsKVlZX/nqT/8fn/trr/zM//iZH/gYn/2Nr19fWOi4m8vLzs7OyxsbH/qK3Ry8kA/xNcVFz/6eqjo6N0cnH/pqv/d4BnZ2ddTV1NXVyVRku6LDcwPTzd/95Z/13l0ts05zk61j9Vd1VdT12BTlFlVVbU2tqnra2EjIt3f39ncHA/S0oaKyufiYujZGiqUVa2REukEyGsMDiVLTV9LDFTMDPOm57FXGMiMC98ODy4goTfZ2 nIy7BbXEAFhUzAABlLzORdXa5HyztsLR2EBnTTFW8/73w//GY/5to/2xE/0mr/62I/4u4kTitlCzN/85n2TGIxjufoBfsjn7n/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immqej89OTgOaCd/8Hph8wSJpD05nLXrdvYg5KkyW5i0Jzu724lJO9u7h4fvncIgEqzuL88 aCeJL53t0v1nR LpDCIhGvz0aOdaTNLO9uj k3Mrb0xv9ai3//DRs4PdTieMFX27ewAZF93aY6nHXXjy uDnvc4krPHR3u7B4etfTk xdRxt/f7ck9eHB9d29/babQTXbu/t7V6DgE OHr93 7Tl58dRb6A9fP/o6NGjJ1CPHh0dPX74U/fNHIyZMmXKlOlNFv5riq7B2j9dU5lpKcskMmXKlClTpkyZMmXKlClTpkyZMmXKlClTpkyZMmXK9Bei/wevAVVMGCjkcgAAAABJRU5ErkJggg==">
            </div>
            <div >
                <i ></i><span>Umann Goswami</span>
            </div>
        </div>
        
    </div><!--sidebar-header-->
    <div >
        <ul>
            <li ><a href=""><span ><i ></i></span>Home</a></li>
             
             <li><a href=""><span ><i ></i></span>Feed</a></li>

             <li><a href=""><span ><i ></i></span>Posts</a>
             </li>
             
             <li><a href=""><span ><i ></i></span>Categories</a></li>

             <li><a href=""><span ><i ></i></span>Comments</a></li>

             <li><a href=""><span ><i ></i></span>Settings</a></li>
        </ul>
        <div >
           Admin
        </div>
            <ul>
                <li><a href=""><span ><i ></i></span>Users</a></li>

            </ul>
        <div >
            Profile
        </div>

        <ul>
            <li><a href=""><span ><i ></i></span>View</a></li>
            <li><a href=""><span ><i ></i></span>Edit</a></li>
        </ul>

        <div >
            Analysis
        </div>
        
        <ul>
            <li><a href=""><span ><i ></i></span>View</a></li>
            <li><a href=""><span ><i ></i></span>Edit</a></li>
        </ul>
    </div><!--sidebar-nav-->
    <div >
        <span><a href=""><i ></i>Logout</span></a>
    </div>
</div><!--sidebar-->

CodePudding user response:

Just define a height for the .sidebar-nav and set it to 90% and keep its overflow to auto.

.sidebar{
  display: block;
  position: fixed;
  height: calc(100vh - 50px);
  top: 51.5px;
  left: 0;
  background-color: #fff;
  width: 15.625rem;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
  z-index: 0;
  transition: all 0.5s ease;
}
.open.sidebar {
  display: block;
}
#mySidebar{
  transition:all 0.2s linear;
  /*transform:translateX(-250px);*/
}
#mySidebar.open{
  transform:translateX(0);
}
.sidebar-header{
  padding: 0px;
  width: 100%;
  background: rgba(0, 136,169, 1);
  height: 3rem;
}
.sidebar-header .profile{
  display:  flex;
  color: #fff;
}
.profile .profile-image img{
  flex-wrap: wrap;
  pointer-events: none;
  border-radius: 50%;
  width: 40px;
  float: none;
  display: block;
  object-fit: fill;
  height: 40px;
  margin-left:  20px;
}
.profile .profile-name{
  display: inline-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px 0 5px;
  font-size: 14px;
  font-weight: 600 !important;
}
.profile .profile-name i{
  margin: -2px 5px 0 2px;
  font-size: 16px;
}
.profile-stats{
  margin: 10px 0;
  color: #fff;
  font-size: 12px;
  display: flex;
  flex-direction: row;
  gap:  0.25rem;
  align-items: center;
  cursor: pointer;
}
.profile-stats .stats{
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
}
#followerCount, #mediaCount,#followingCount{
  font-size: 10px;
}
.sidebar-nav{
margin: -0.5rem 0;
overflow: auto;
height: 90%;

/* border: 1px solid red; */
}
.sidebar-nav ul {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    list-style:none;
    padding: 0 15px;
    line-height: 30px;
    overflow:auto;

    
}
.sidebar-nav ul li{
    width: 90%;
    color:#007bff;
    padding:  5px 10px;
    margin: 1px 0;
}
.sidebar-nav ul li a{
    text-decoration:none;
}
.sidebar-nav ul .active,
.sidebar-nav ul .active a .icon{
    background:#007bff;
    color: #ffffff;
    border-radius: 10px;
}

.sidebar-nav ul li:hover,
.sidebar-nav ul li:hover a .icon, 
.sidebar-nav ul li:hover a{
    background:#007bff;
    color: #ffffff;
    border-radius: 10px;
}
.sidebar-nav ul li a .icon{
  color:#007bff;
  width:30px;
  display: inline-block;
}
.sidebar-nav .sidebar-nav-header{
  text-transform: uppercase;
  font-size: 11px;
  margin: -0.75rem 1.5rem;
  color:#0c7db1;
}
.sidebar-footer{
  position: absolute;
  bottom:  0;
  background: #FF7F50;
  width: 100%;
  height:  3rem;
  text-align: center;
}
.sidebar-footer span a{
  display: block;
  position: absolute;
  color: #fff;
  background: #FF7F50;
  font-weight:  600 !important;
  margin-top: 5%;
  margin-left: 70px;
  text-decoration:none;
}
.sidebar-footer span i{
  width: 30px;
  font-size: 16px;
}
<div  id='mySidebar'>
    <div >
        <div >
            <div >
                <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAADbCAMAAABOUB36AAABs1BMVEX////68vBbW1sr/zIAAAA8PDzd1dP9 fg1NTX99fP/ PZeXl40NDQxMTE7Ozs/Pz8tLS3j29kmJiZJSUkhISEcHBwUFBT/kpmFhYX27uxSUlIZGRlEREQODg5XV1dSXFz/4ePf39//lp3/vsKVlZX/nqT/8fn/trr/zM//iZH/gYn/2Nr19fWOi4m8vLzs7OyxsbH/qK3Ry8kA/xNcVFz/6eqjo6N0cnH/pqv/d4BnZ2ddTV1NXVyVRku6LDcwPTzd/95Z/13l0ts05zk61j9Vd1VdT12BTlFlVVbU2tqnra2EjIt3f39ncHA/S0oaKyufiYujZGiqUVa2REukEyGsMDiVLTV9LDFTMDPOm57FXGMiMC98ODy4goTfZ2 nIy7BbXEAFhUzAABlLzORdXa5HyztsLR2EBnTTFW8/73w//GY/5to/2xE/0mr/62I/4u4kTitlCzN/85n2TGIxjufoBfsjn7n/ d5/32s6qiR/5TN2cQAVQC45bCsmqUlWCZYbllsu25RhVMVmRlKokxAxkNBIkAgiCPNNEDJt7jmv8FGsUlQjVE33zzHS1OMTVDRjJCIG9dhAAAT50lEQVR4nO2djX/TRprHZWdiSbb1atnIL7JjIiAktiwUYlETApRuk7CwtIS0hRYa7to9Spf2jntpb  t12vv6O0t7Z98M5L1auvNseLQ1e/Tpn5RpfnqmXleRiMZwzJlypQpU6ZMmTJlypTpL1i93qC36Dakqd7 7d/eudv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lpKcskMmXKlClTpkyZMmXKlClTpkyZMmXKlClTpkyZMmXK9Bei/wevAVVMGCjkcgAAAABJRU5ErkJggg==">
            </div>
            <div >
                <i ></i><span>Umann Goswami</span>
            </div>
        </div>
        
    </div><!--sidebar-header-->
    <div >
        <ul>
            <li ><a href=""><span ><i ></i></span>Home</a></li>
             
             <li><a href=""><span ><i ></i></span>Feed</a></li>

             <li><a href=""><span ><i ></i></span>Posts</a>
             </li>
             
             <li><a href=""><span ><i ></i></span>Categories</a></li>

             <li><a href=""><span ><i ></i></span>Comments</a></li>

             <li><a href=""><span ><i ></i></span>Settings</a></li>
        </ul>
        <div >
           Admin
        </div>
            <ul>
                <li><a href=""><span ><i ></i></span>Users</a></li>

            </ul>
        <div >
            Profile
        </div>

        <ul>
            <li><a href=""><span ><i ></i></span>View</a></li>
            <li><a href=""><span ><i ></i></span>Edit</a></li>
        </ul>

        <div >
            Analysis
        </div>
        
        <ul>
            <li><a href=""><span ><i ></i></span>View</a></li>
            <li><a href=""><span ><i ></i></span>Edit</a></li>
        </ul>
    </div><!--sidebar-nav-->
    <div >
        <span><a href=""><i ></i>Logout</span></a>
    </div>
</div><!--sidebar-->

CodePudding user response:

You may use the flex layout on the main container too and then set the nav on flex:1 overflow:auto; . You will only need from here to set an height on the main container . header & footer can be any height.

Mind the box-sizing property too, it will help taking paddings and borders into account.

Possible example:

#mySidebar{
  transition:all 0.2s linear;
  /*transform:translateX(-250px);*/
}
#mySidebar{
  display:flex;
  flex-direction:column;
  height:calc(100vh - 50px); 
  box-sizing:border-box;
  top:50px;
}
/* then a few properties removed and box-sizing added */
.sidebar{
  position: fixed;
  top:0;
  left: 0;
  background-color: #fff;
  width: 15.625rem;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
  z-index: 0;
  transition: all 0.5s ease;
}
.open.sidebar {
  display: block;
}
.sidebar-nav {
  flex:1 ;
  overflow:auto;
}
#mySidebar.open{
  transform:translateX(0);
}
.sidebar-header{
  padding: 0px;
  width: 100%;
  background: rgba(0, 136,169, 1);
  height: 3rem;
}
.sidebar-header .profile{
  display:  flex;
  color: #fff;
}
.profile .profile-image img{
  flex-wrap: wrap;
  pointer-events: none;
  border-radius: 50%;
  width: 40px;
  float: none;
  display: block;
  object-fit: fill;
  height: 40px;
  margin-left:  20px;
}
.profile .profile-name{
  display: inline-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px 0 5px;
  font-size: 14px;
  font-weight: 600 !important;
}
.profile .profile-name i{
  margin: -2px 5px 0 2px;
  font-size: 16px;
}
.profile-stats{
  margin: 10px 0;
  color: #fff;
  font-size: 12px;
  display: flex;
  flex-direction: row;
  gap:  0.25rem;
  align-items: center;
  cursor: pointer;
}
.profile-stats .stats{
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
}
#followerCount, #mediaCount,#followingCount{
  font-size: 10px;
}
.sidebar-nav{
margin:  0;
overflow: auto;
}
.sidebar-nav ul {
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    list-style:none;
    padding: 0 15px;
    line-height: 30px;
    box-sizing:border-box;
}
.sidebar-nav ul li{
    width:100%;
    box-sizing:border-box;
    color:#007bff;
    padding:  5px 10px;
    margin: 1px 0;
}
.sidebar-nav ul li a{
    text-decoration:none;
}
.sidebar-nav ul .active,
.sidebar-nav ul .active a .icon{
    background:#007bff;
    color: #ffffff;
    border-radius: 10px;
}

.sidebar-nav ul li:hover,
.sidebar-nav ul li:hover a .icon, 
.sidebar-nav ul li:hover a{
    background:#007bff;
    color: #ffffff;
    border-radius: 10px;
}
.sidebar-nav ul li a .icon{
  color:#007bff;
  width:30px;
  display: inline-block;
}
.sidebar-nav .sidebar-nav-header{
  text-transform: uppercase;
  font-size: 11px;
  margin: -0.75rem 1.5rem;
  color:#0c7db1;
}
.sidebar-footer{
  background: #FF7F50;
  text-align: center;
}
.sidebar-footer span a{
  display: block;
  padding:.5em 0;
  color: #fff;
  background: #FF7F50;
  font-weight:  600 !important;
  text-decoration:none;
}
.sidebar-footer span i{
  width: 30px;
  font-size: 16px;
}
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" rel="stylesheet"/>
<div  id='mySidebar'>
    <div >
        <div >
            <div >
                <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAADbCAMAAABOUB36AAABs1BMVEX////68vBbW1sr/zIAAAA8PDzd1dP9 fg1NTX99fP/ PZeXl40NDQxMTE7Ozs/Pz8tLS3j29kmJiZJSUkhISEcHBwUFBT/kpmFhYX27uxSUlIZGRlEREQODg5XV1dSXFz/4ePf39//lp3/vsKVlZX/nqT/8fn/trr/zM//iZH/gYn/2Nr19fWOi4m8vLzs7OyxsbH/qK3Ry8kA/xNcVFz/6eqjo6N0cnH/pqv/d4BnZ2ddTV1NXVyVRku6LDcwPTzd/95Z/13l0ts05zk61j9Vd1VdT12BTlFlVVbU2tqnra2EjIt3f39ncHA/S0oaKyufiYujZGiqUVa2REukEyGsMDiVLTV9LDFTMDPOm57FXGMiMC98ODy4goTfZ2 nIy7BbXEAFhUzAABlLzORdXa5HyztsLR2EBnTTFW8/73w//GY/5to/2xE/0mr/62I/4u4kTitlCzN/85n2TGIxjufoBfsjn7n/ d5/32s6qiR/5TN2cQAVQC45bCsmqUlWCZYbllsu25RhVMVmRlKokxAxkNBIkAgiCPNNEDJt7jmv8FGsUlQjVE33zzHS1OMTVDRjJCIG9dhAAAT50lEQVR4nO2djX/TRprHZWdiSbb1atnIL7JjIiAktiwUYlETApRuk7CwtIS0hRYa7to9Spf2jntpb  t12vv6O0t7Z98M5L1auvNseLQ1e/Tpn5RpfnqmXleRiMZwzJlypQpU6ZMmTJlypTpL1i93qC36Dakqd7 7d/eudv53fV7T3/XuXtnuP9rox3sq  9f/9g58GDBztQh58 2Dn84MOP2vKviHTw8NHhzqcffPIRff369Xvg3vWPoQD70ScfHO7sHDxWu4tu4By0du7Jpx8ivus0vQzFEKBGQFGAWjY /f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V42zVspXqKefh0xYp6ON1f1KGCNqWhsl6boW/uMS/plmP Vle3 d z PTvw3Oq9saWGM456LRhUlc0GkMMl9 8dQTGdnnd2Duwv4fdl1TG3HADWeFET3tRzK2N2EqLTW rC2/p8Qyu8cY Zf3VnIT8u hYnRnDB1MwtMkJc1Llcc1yjFekHpt9ETTKjGu98HUv7Godx NVzMr8puXRyEjk03KS2Mn5/TaqDsvGWSAxaGW5gPdG5Np/zeRbnz00IgMfQTGrdjmNMkLeUbDGU9ugslFHy55YTbdyeCJdIP7zqUh/ 7KEqYYP5yNyamiWpgtdtt542lq3 apPzTVYfyYGE/h4K0en87AWeYrv6fn/JHF X9hVJi2KVr8 K8/J03Y3/HTbnwn0w7mh/n5T 7KP98qiix3tHc m3 qpMp3HJ5n0X3WEODo4P5cf4wpnzhfLZ9cDp zLD3eGdunO/ xsTctgPm9qn5HeveZ6/ynTlxXs7fcic/nfar0/MDnAP91d68ONEAtZOfzt6zhaSxAerefT03hws7rkW5fe31AkqSEHXvXnvWmZdBxwlkp7Pzfuji/gVo8Nu9V7tzMyjS9u6r4WnqsWNpdw4O5mZQaMqDg3i3kZ 0eupnr36ek0G3f361F4NyMT/3PLh9NBeX29l79ct nA67mDobzd0 OmwfE7TTPnwyzcEuimmqej89OTgOaCd/8Hph8wSJpD05nLXrdvYg5KkyW5i0Jzu724lJO9u7h4fvncIgEqzuL88 aCeJL53t0v1nR LpDCIhGvz0aOdaTNLO9uj k3Mrb0xv9ai3//DRs4PdTieMFX27ewAZF93aY6nHXXjy uDnvc4krPHR3u7B4etfTk xdRxt/f7ck9eHB9d29/babQTXbu/t7V6DgE OHr93 7Tl58dRb6A9fP/o6NGjJ1CPHh0dPX74U/fNHIyZMmXKlOlNFv5riq7B2j9dU5lpKcskMmXKlClTpkyZMmXKlClTpkyZMmXKlClTpkyZMmXK9Bei/wevAVVMGCjkcgAAAABJRU5ErkJggg==">
            </div>
            <div >
                <i ></i><span>Umann Goswami</span>
            </div>
        </div>
        
    </div><!--sidebar-header-->
    <div >
        <ul>
            <li ><a href=""><span ><i ></i></span>Home</a></li>
             
             <li><a href=""><span ><i ></i></span>Feed</a></li>

             <li><a href=""><span ><i ></i></span>Posts</a>
             </li>
             
             <li><a href=""><span ><i ></i></span>Categories</a></li>

             <li><a href=""><span ><i ></i></span>Comments</a></li>

             <li><a href=""><span ><i ></i></span>Settings</a></li>
        </ul>
        <div >
           Admin
        </div>
            <ul>
                <li><a href=""><span ><i ></i></span>Users</a></li>

            </ul>
        <div >
            Profile
        </div>

        <ul>
            <li><a href=""><span ><i ></i></span>View</a></li>
            <li><a href=""><span ><i ></i></span>Edit</a></li>
        </ul>

        <div >
            Analysis
        </div>
        
        <ul>
            <li><a href=""><span ><i ></i></span>View</a></li>
            <li><a href=""><span ><i ></i></span>Edit</a></li>
        </ul>
    </div><!--sidebar-nav-->
    <div >
        <span><a href=""><i ></i>Logout</span></a>
    </div>
</div><!--sidebar-->

close if not duplicate : Fill remaining vertical space with CSS using display:flex

  • Related