Show If design area by max-width

(Nick Papadatos) #1

Matrix Version: 5.5

Hi Squiz folk
Just wondering whether anyone has cracked a way to show a design area based on a max-width screen size?

The idea I have is two fold:
1: Show a simple global navigation listing only the top level (no children) for desktop
2: Have a more complex push multi level navigation for hand held devices not printed on desktop

It would be nice to have a show if design area media query value…


(David Schoen) #2

The screen width is unknown to the server side when design areas are being rendered - so you will need a purely front end solution for this.

(Nick Papadatos) #3

Yeah, thought as much thanks David.