[Support request] Woocommerce mobile width breakpoint for single product page

Home Forums Support Woocommerce mobile width breakpoint for single product page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1473965
    B.J.

    Hi,

    How can I change mobile width breakpoint for single product page? Below is an example of screen copy how single product page looks when I change width of browser window – it looks too “squeezed”. I would need to set breakpoint at least 50-100 px sooner…

    https://ibb.co/0YKhDCb

    #1473996
    Elvin
    Staff
    Customer Support

    Hi,

    You can try this PHP snippet.

    add_filter('woocommerce_style_smallscreen_breakpoint', function ($px) {
      $px = '767px';
      return $px;
    }
    );

    Just change the “767px” to a value of your preference.

    A wise man once said:
    "Have you cleared your cache?"

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.