Hide shortcode on mobile device
I’m looking for a solution to the following problem:
I’ve installed a linkedin plugin, which pulls recommendations from linkedin and shows them in a slider, which is defined by the following shortcode:
[li_recommendations width=”720″ length=”200″ interval=”6500″]
The plugins works on PC screens and Tablet (tested on mac + sharp tv screen and ipad) however, on my phone it will make the screen wide enough to show the full 720px slider. Which – of course- messes up the screen.
I’m looking for a solution similar to what is posted here: http://wordpress.org/support/topic/override-shortcode-for-mobile-theme-1?replies=7
But then for the twentytwelve, rather than -some- mobile theme. I’m a little where/what to change, since -correct me if i’m wrong- there is no specific mobile theme in twentytwelve because it’s responsive.
Thanks for your attention, much appreciated!
- The topic ‘Hide shortcode on mobile device’ is closed to new replies.