• Hi,

    We have styled the desktop template (wishlist-view.php) to show also on mobile. Additionally we removed the “responsive” class from the tabel to avoid triggering the mobile template (wishlist-view-mobile.php). This works fine on chrome (and android) but on Safarai (both desktop and iphone) we now only see the mobiel (

      ) version of the template.

      How can we completetely disable / avoid loading the mobile template on all browsers?

      Thank you!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    this is really strange; anyway, maybe you could consider trying to add the following snippet of code at the end of functions.php file of your theme or child, to completely disable responsive behaviour of the wishlist

    add_filter( 'yith_wcwl_is_wishlist_responsive', '__return_false' );
    

    That’s exactly what I was looking for! ??

    Thank you YITHEMES ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘disable mobile template’ is closed to new replies.