This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Zig widget class stopped working

  • Creator
    Topic
  • #2184
    skram
    Member

    I installed the Zigwidget class plugin a couple days ago. Now it has all of a sudden stopped working and my widgets show up on tablets and mobile again. I tried to delete and redo the widgets and add the hide_on_tablet _and_mobile again and still nothing. Is this something wrong on my end?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #2198
    Jason Bobich
    Keymaster

    Can you provide a link to your website so I can see what you’ve setup?

    #2310
    skram
    Member

    http://www.surfalabama.com The swell info widget is set to be hidden on tablet and mobile. It is hidden on mobile and hidden on the ipad, but if you turn the ipad sideways (horizontally) it reappears. Is this an issue with the resolution change on the tablet in landscape?

    #2321
    Jason Bobich
    Keymaster

    These responsive utility classes use viewport sizes as the determining factor and not specifically anything to do with the device.

    You can see this here in the chart: http://dev.themeblvd.com/tutorial/responsive-utility-classes/

    So basically, anything above 800px is not considered a “tablet” viewport size. When you’re viewing your iPad in landscape, I believe you’re viewing the site at a 1024px, which is the equivalent of a small laptop, and so you don’t really have any responsive elements taking effect.

    Note: In the next theme update, this is changed from 800px up to 980px. This is not relevant to your question, but just wanted to note that here in case anyone is reading this later.

    If you wanted to target the actual devices (opposed to viewport sizes), you could use the Widget Logic plugin and use wp_is_mobile() in your widget logic fields of the widget.

    http://wordpress.org/extend/plugins/widget-logic/

    http://codex.wordpress.org/Function_Reference/wp_is_mobile

Viewing 3 replies - 1 through 3 (of 3 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.