I have setup a container that should alternate the image & text when the size is md or above. The intention is to have the images above text on small and alternate image, text, text, image etc. As soon as I exceed 4 columns the ordering does not work. Please help advise where I am going wrong?
Working code example 4 columns
<!-- Block 1 Re order order-* from md upwards -->
<div class="container">
<div class="row">
<div class="col-md-6 order-md-1 odd-row">
<img class="img-fluid rounded mb-4 mb-lg-0" src="images/security_alarm.png" alt="Security Alarm System">
</div>
<div class="col-md-6 order-md-2 even-row">
<h1 class="font-weight-light">Is your home insurance proof?</h1>
<p>Most insurance companies now ask that you upgrade the security of your home to qualify for home insurance. Did you know you must have kite marked locks on the front and back doors to qualify for a valid claim? </p>
</div>
<div class="col-md-6 order-md-4 odd-row">
<div class="col-lg-4"><img class="img-fluid rounded mb-4 mb-lg-0" src="images/security_alarm.png" alt="Security Alarm System"></div>
</div>
<div class="col-md-6 order-md-3 even-row">
<h1 class="font-weight-light">Is your home insurance proof?</h1>
<p>Most insurance companies now ask that you upgrade the security of your home to qualify for home insurance. Did you know you must have kite marked locks on the front and back doors to qualify for a valid claim? </p>
</div>
</div>
Above 4 columns when the code/order does not work (breaks).....
<!-- Block 1 Re order order-* from md upwards -->
<div class="container">
<div class="row">
<div class="col-md-6 order-md-1 odd-row">
<img class="img-fluid rounded mb-4 mb-lg-0" src="images/security_alarm.png" alt="Security Alarm System">
</div>
<div class="col-md-6 order-md-2 even-row">
<h1 class="font-weight-light">Is your home insurance proof?</h1>
<p>Most insurance companies now ask that you upgrade the security of your home to qualify for home insurance. Did you know you must have kite marked locks on the front and back doors to qualify for a valid claim? </p>
</div>
<div class="col-md-6 order-md-4 odd-row">
<div class="col-lg-4"><img class="img-fluid rounded mb-4 mb-lg-0" src="images/security_alarm.png" alt="Security Alarm System"></div>
</div>
<div class="col-md-6 order-md-3 even-row">
<h1 class="font-weight-light">Is your home insurance proof?</h1>
<p>Most insurance companies now ask that you upgrade the security of your home to qualify for home insurance. Did you know you must have kite marked locks on the front and back doors to qualify for a valid claim? </p>
</div>
<div class="col-md-6 order-md-5 odd-row">
<img class="img-fluid rounded mb-4 mb-lg-0" src="images/security_alarm.png" alt="Security Alarm System">
</div>
<div class="col-md-6 order-md-6 even-row">
<h1 class="font-weight-light">Is your home insurance proof?</h1>
<p>Most insurance companies now ask that you upgrade the security of your home to qualify for home insurance. Did you know you must have kite marked locks on the front and back doors to qualify for a valid claim? </p>
</div>
</div>