I\'m migrating to bootstrap 3.0.0 and I\'m having issues with an affixed menu to the left: as soon as it becomes affixed (after 10px scroll), its width changes. In this fiddle i
Here's my version.
var fixAffixWidth = function() { $('[data-spy="affix"]').each(function() { $(this).width( $(this).parent().width() ); }); } fixAffixWidth(); $(window).resize(fixAffixWidth);
CSS
div.affix { position: fixed !important; }