Alt Sidebar location on mobile

Community Forums Forums Design Tips and Tricks Alt Sidebar location on mobile

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  nickthegeek 1 year, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4394

    Mike Imken
    Participant
    Post count: 18

    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.

    http://www.texasdentistsformedicaidreform.org/

    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.


    Designer – Developer
    http://www.ExpansionAcademy.com

    #4544

    nickthegeek
    Keymaster
    Post count: 751

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.