Home Forums Basel support forum Disactivate "Quick Preview" on Certain Devices Only

Disactivate "Quick Preview" on Certain Devices Only

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #85346

    Jeriss Cloud Center
    Participant

    Dear,

    The quick preview is useful for desktop but not very useful for mobiles.

    On a mobile, when you generate the quick preview, it pops up. But then if you want to leave it, people have the habit to press the back button of their phone. What happens is that it does not close the preview, it sends them back to the previous page.

    For now I’d like to disable it only on mobiles, unless you are able to provide fix for this?

    Thanks a lot

    #85384

    Hello,

    Add this code to the Theme Settings > Custom CSS > Mobile

    .product-grid-item:not(.basel-hover-base):hover .product-element-top .quick-view {
            opacity: 0;
        visibility: hidden;
    }

    Best Regards

    #85436

    Jeriss Cloud Center
    Participant

    Sorry, I added the code into the Custom CSS for mobile but it’s not working.

    Quick Preview is still shown on the mobile. Can you recheck?

    Thanks

    #85479

    Hello,

    I cannot access your site. Please update the credentials.

    Best Regards

    #85677

    Jeriss Cloud Center
    Participant

    See private content

    #85725

    Hello,

    I cannot log in.

    Please add this code to the Theme Settings > Custom CSS > Mobile:

    .basel-buttons .quick-view>a {
    display:none!important;
    }

    If the code does not work deactivate all the blocking and stage login plugins and configuration so that I could enter the site via default WP login page.

    Best Regards

    #85779

    Jeriss Cloud Center
    Participant

    I have added your code into the CSS Custom Mobile and here is the result.

    1) The CSS editor itself is warning of errors. Please check the attachments to see the two warnings.

    2) The outcome on mobile view is not fully fine. At first sight, the quick preview button is still there. But once the mouse hover on the product, then the quick preview disappears. It should be fully hidden.

    Attachments:
    You must be logged in to view attached files.
    #85783

    Jeriss Cloud Center
    Participant

    Additional screenshots hereby

    #85784

    Jeriss Cloud Center
    Participant

    Additional screenshots hereby

    Attachments:
    You must be logged in to view attached files.
    #85789

    Hello,

    Deactivate all the blocking plugins and configuration so that I could enter the default WP login page.

    Best Regards

    #85800

    Jeriss Cloud Center
    Participant

    I just disactivated almost all plugins. And the issue is still there. It is not due to any plugins, the issue is in the theme.

    #85865

    Hello,

    I have corrected the code, now it works.

    Best Regards

    #85878

    Jeriss Cloud Center
    Participant

    Great ! Perfect code. Thanks a lot.
    This point can be marked completed.

    #85879

    You are welcome!

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Disactivate "Quick Preview" on Certain Devices Only’ is closed to new replies.