Open italogois opened 10 years ago
If I understand your question correctly, you are trying to override the older bootstrap grid which uses .span* with .col*? If so, you can use jQuery's .removeClass() and .addClass() methods to change these. Just add the following to your scripts file: jQuery(document).ready(function($) { // FIX BOOTSTRAP 3 $('.span12').removeClass('span12').addClass('col-md-12'); $('.span11').removeClass('span11').addClass('col-md-11'); $('.span10').removeClass('span10').addClass('col-md-10'); $('.span9').removeClass('span9').addClass('col-md-9'); $('.span8').removeClass('span8').addClass('col-md-8'); $('.span7').removeClass('span7').addClass('col-md-7'); $('.span6').removeClass('span6').addClass('col-md-6'); $('.span5').removeClass('span5').addClass('col-md-5'); $('.span4').removeClass('span4').addClass('col-md-4'); $('.span3').removeClass('span3').addClass('col-md-3'); $('.span2').removeClass('span2').addClass('col-md-2'); $('.span1').removeClass('span1').addClass('col-md-1'); });
I'm trying to override the default grid of the grid bootstrap plugin 3.2 and I'm not getting, someone knows how to be change?