Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

how to check if a template supports responsive design? WordPress

  • SOLVED

I am the developer of the mapping plugin [[LINK href="http://www.mapsmarker.com"]]www.mapsmarker.com[[/LINK]] and some users have reported problems with their templates which support responsive design (= different widths for different kind of devices for example). As my map are either given in absolut width in pixel or relative in %, I would like to add a check for responsive design.

My question is, if anyone knows a way how to check, if the used template supports responsive design.
Thanks

Answers (3)

2012-10-27

Arnav Joy answers:

try this site to look your site

http://responsive.is/http://yoursite.com


Robert Seyfriedsberger comments:

thats a great site, but unfortunately also not what I need - I need a way to check via php in my plugin if the template is reponsive...

2012-10-27

Ross Wilson answers:

This is a pretty cool way of detecting if a media query breakpoint has occurred via javascript. Basically you could register the custom breakpointchange event on the parent container of the map, then if the event is fired, resize the map appropriately.

[[LINK href="http://jsfiddle.net/henrikekelof/ZUPZW/"]]http://jsfiddle.net/henrikekelof/ZUPZW/[[/LINK]]


Robert Seyfriedsberger comments:

thanks, that is what I was looking for...

2012-10-27

Dbranes answers:

Hi, don't know if you mean something like these Responsive Web Design Testing Tools:

http://mattkersley.com/responsive/
http://www.studiopress.com/responsive/
http://responsivepx.com/
http://responsiveviewport.com/
http://quirktools.com/screenfly/
http://screenqueri.es/
http://www.responsinator.com/

... but these are manual tests.


Robert Seyfriedsberger comments:

no thanks, I dont need manual tests but a way to check for example with php within the template files if the template used is responsive