Sidebar


A different sidebar for each blog


Move Sidebar Under First Section on Index Page

Add this code to Code Injection before the plugin code:

<!-- Move Sidebar Under First Section on Index Page -->
<script>
window.addEventListener('sidebarAdded', function () {
  var section = document.querySelector('.Index-page');
  if (section) {
    var parent = section.parentNode.parentNode;
    parent.insertBefore(section, parent.firstElementChild);
  }
});
</script>
<!-- end Move Sidebar Under First Section on Index Page -->
Previous
Previous

Related Posts

Next
Next

Accotabs