Hello – An example page is http://dawsonis.com/cleaning/ – I have a secondary navigation built into the side bar. Everything shows up fine on regular monitors but when I view this as mobile, the secondary nav is pushed to the bottom of the page rather than above the content. I realize this is standard, but my client wants the links to be about the content, rather than below.
Thanks,
Gwin
Hi gwinenvato!
Please add the following to your functions.php file
function add_custom_script(){
?>
<script>
jQuery(window).load(function(){
if (window.matchMedia("(min-width: 767px)").matches){
jQuery("#main main").before(jQuery("#main aside"));
}
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_script');
let us know if that solves your issues.
Thanks a lot
Cheers!
Basilis