Force sidebar height 100% using CSS (with a sticky bottom image)?
This worked for me .container { overflow: hidden; …. } #sidebar { margin-bottom: -5000px; /* any large number will do */ padding-bottom: 5000px; …. }
This worked for me .container { overflow: hidden; …. } #sidebar { margin-bottom: -5000px; /* any large number will do */ padding-bottom: 5000px; …. }
Bootstrap 3 Here is a working left sidebar example: http://bootply.com/90936 (similar to the Bootstrap docs) The trick is using the affix component along with some CSS to position it: #sidebar.affix-top { position: static; margin-top:30px; width:228px; } #sidebar.affix { position: fixed; top:70px; width:228px; } EDIT– Another example with footer and affix-bottom Bootstrap 4 The Affix component … Read more