I'm trying to create a link to switch the theme to/from Desktop/Mobile themes.

I've currently got the dropdown working with Auto-submit, but this doesn't pass accessibility tests.

A simple link that changes the current page's theme is what I need. I'd like the page to stay on the same page when the link is clicked.

From what I've read, something like "mysite.com/?theme=mobile" should change the mysite.com homepage to mobile theme. This is not working though.

Also, how can this block have a link that is dynamic (that is, the "/?theme=mobile" is appended to whatever URL the user is currently on)? I don't want the mobile theme selection to always redirect to the homepage as this would be useless.

Thanks

Comments

kyleheney created an issue.