Not sure if this is the place to get some help on this, but I’m hoping to have the alt sidebar on the News theme appear just below the header on mobile screens. By default it goes to the bottom of the layout. I’m using the alt sidebar for a side menu.
I’m guessing it would take some PHP in the Function file. But is it possible to do a media query via functions.php?
Maybe there is a better way to have a side menu on desktop browsers and also a mobile menu at the top?
Any suggestions are appreciated.
There isn’t really a good way to do that. You can move the sidebar to appear before teh content sidebar wrap and adjust your css so it works, but then you create a problem with indexing your site as sidebars should never come before content in the HTML markup.
If you want to use a side menu then you really should use the menu. You can style that so it goes down the side then have it collapse responsively to before the content, which is really what it should be doing anyways because then your menu becomes more useful to someone who is using a screen reader. Right now your site is crazy hard to use for anyone who is using a screen reader.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.