Hello i hope you are good i want to disable slider in mobile

This topic has 13 replies, 2 voices, and was last updated 1 years, 4 months ago ago by Rose Tyler

  • Avatar: vasak
    Taha
    Participant
    August 10, 2023 at 12:59

    hello i hope you are good i want to disable slider in mobile

    https://www.awesomescreenshot.com/video/19838248?key=8d982f1083a90294bc697b028c20c55f

    Please, contact administrator
    for this information.
    12 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 10, 2023 at 18:47

    Hello, Vasak,

    Thank you for contacting us and for using XStore.

    We added for you next code snippet in child-theme/functions.php

    add_action('wp', function() {
        add_filter('theme_mod_product_gallery_type_et-desktop', function($value) {
            // maybe replace with origin wp_is_mobile()
            return get_query_var('is_mobile', false) ? 'double_image' : $value;
        });
    }, 90);

    By default we create a slider on mobile devices in case product gallery type was set to either one_image or double_image. In your case, we made force reactivation of double_image type for mobile devices.

    Kind Regards,
    8theme team

    Avatar: vasak
    Taha
    Participant
    August 11, 2023 at 13:20

    code thank you 15px between the photo and mobile 5px on the desktop is it possible

    Avatar: vasak
    Taha
    Participant
    August 11, 2023 at 13:25

    While optimizing the bird speed, I am making JavaScript delay, but I want to add this object, but how can I know the name of this object, which one is kuyamali code? https://tinyurl.com/274a8ml2

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 13, 2023 at 07:32

    Hello, Vasak,

    Thank you for your response.

    1/ Please try to use the next custom CSS code in Custom CSS for mobile area:

    .double_image .main-images > div {
        margin: 0 5px 5px 0;
        width: calc(50% - 5px);
    }

    2/ We recommend that you clarify with the person from whom you obtained this custom code, or directly with WPRocket (since you definitely purchased it independently).

    Kind Regards,
    8theme team

    Avatar: vasak
    Taha
    Participant
    August 15, 2023 at 13:07

    Hello, when I click on a photo, a two-layer zoom effect appears. When I want to cancel the first layer of zoom that appears in front of me, how can I do that? Can you please explain it to me? https://www.awesomescreenshot.com/video/19950319?key=5da2e31875d5e25f636d8da59ab40968

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 15, 2023 at 13:24

    Hello, Vasak,

    Please edit any page using Elementor page builder > go to Site settings > Lightbox > Image Lightbox > disable OR Single Product Builder > Gallery > disable Lightbox. You need to disable one of the mentioned lightboxes.

    Kind Regards,
    8theme team

    Avatar: vasak
    Taha
    Participant
    August 15, 2023 at 13:47
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 15, 2023 at 14:38

    Hello, Vasak,

    Thank you for your response.

    1/ We can’t log in. Please check.

    2/ Have you disabled the next – https://prnt.sc/zul6vWEyEIUV ?

    Kind Regards,
    8theme team

    Please contact administrator
    for this information.
    Avatar: vasak
    Taha
    Participant
    August 15, 2023 at 14:40
    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 15, 2023 at 14:55

    Hello, Vasak,

    Please clear cache and check now.
    We’ve disabled Lightbox in Elementor settings, as was described before.

    Kind Regards,
    8theme team

    Avatar: vasak
    Taha
    Participant
    August 15, 2023 at 15:00

    thank you you are very helpful

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 15, 2023 at 15:11

    Hello, Vasak,

    You’re welcome!

    Kind Regards,
    8theme team

  • Viewing 13 results - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.