How to fix Bootstrap anchor links

0

It happens to me that after I worked on a Bootstrap theme, the anchor links were messed up. <span class=”anchor” id=”section1″></span> <div class=”content”></div> <span class=”anchor” id=”section2″></span> <div class=”content”></div> <span class=”anchor” id=”section3″></span> <div class=”content”></div> <a href=”#section1″>Link to section 1</a> <a href=”#section2″>Link Read more ›