Okay
  Public Ticket #1691857
Change the Shop Display on Mobile
Closed

Comments

  •  1
    fineyellow started the conversation

    Hi Dear Laborator Support,

    we love your design with the distant background and it looks great and clean on our desktop version. Unfortunately when scrolling on mobile the background keeps users from seeing the actual products. 

    Is there a way to keep the distant background on desktop, but use the default display on mobile?

    Additional question: I don't manage to get the brand logo on the distant background - an idea how to achieve this?

    This is the code I use: 

    add_action( 'woocommerce_after_shop_loop_item_title', 'bbloomer_show_woocommerce_brands_loop', 15 );
     
    function bbloomer_show_woocommerce_brands_loop() {
      global $post;
      // echo get_brands( $post->ID );
      echo do_shortcode('[product_brand height="20px" class="alignleft"]');
    }

    Thanks a lot in advance.

    Best,

    Assunta

  • [deleted] replied

    Hi Assunta,

    1— You can create elements of WPBakery Page Builder that will be valid only for Mobile or PC. To learn how to achieve that please see this video Responsive Control for Devices on the WPBakery Page Builder tutorials.

    2— Sorry but I can't understand your question. Can you please try to be very specific about the question and explain it more to me? Please also send me a screenshot of your "problem" and the exact URL of the page that you are talking about, in this way I can easily understand you and give you the proper answer.

    Thanks!

  •  1
    fineyellow replied

    Hi Ylli,

    1 - Thanks thats helpful. But I'd like show my shop page in a different style on mobile than on the website. On the website, the distant background we currently have looks great (see screenshot below). Unfortunately on mobile, when scrolling you can barely see the images because the distant background is blocking the sight. We would like to have a different style on mobile than on desktop. Mobile: the Kalium default style. Desktop: the distant background style. Is that possible? 

    Mobile Screenshot


    2 - Sorry for not being precise. We would like to show the brand logo on the distant background. But it is added below the product image. An idea why that is the case? Screenshot of the shop is here: Screenshot desktop


    This is the code I use to get the brand logo on the shop page:

    add_action( 'woocommerce_after_shop_loop_item_title', 'bbloomer_show_woocommerce_brands_loop', 15 );
     
    function bbloomer_show_woocommerce_brands_loop() {
      global $post;
      // echo get_brands( $post->ID );
      echo do_shortcode('[product_brand height="20px" class="alignleft"]');
    }


  • [deleted] replied

    Hi fineyellow,

    1— I'm sorry but that option is not possible yet but it would be a nice option to have in our future updates.

    2— I'm sorry but this option is not possible in WooCommerce or in our theme. Maybe there is any plugin that can extend this functionality for you so I suggest you to contact WooCommerce support directly and ask them if this option is possible somehow.

    If you're looking for professional help in this matter, there's always someone available for such tasks on the WP Kraken or Codeable. Pricing and timeline are always straightforward there and that's the main reason for recommending those services.

    Thanks for your understanding.