Home / Forums / Basel support forum / Disactivate "Quick Preview" on Certain Devices Only
Home › Forums › Basel support forum › Disactivate "Quick Preview" on Certain Devices Only
Disactivate "Quick Preview" on Certain Devices Only
- This topic has 13 replies, 2 voices, and was last updated 7 years ago by
Elise Noromit.
-
AuthorPosts
-
October 26, 2018 at 10:37 am #85346

Jeriss Cloud CenterParticipantDear,
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
October 26, 2018 at 12:31 pm #85384
Elise NoromitMemberHello,
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
October 26, 2018 at 2:16 pm #85436
Jeriss Cloud CenterParticipantSorry, 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
October 26, 2018 at 4:54 pm #85479
Elise NoromitMemberHello,
I cannot access your site. Please update the credentials.
Best Regards
October 28, 2018 at 3:01 pm #85677
Jeriss Cloud CenterParticipantSee private content
October 28, 2018 at 8:04 pm #85725
Elise NoromitMemberHello,
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
October 29, 2018 at 8:49 am #85779
Jeriss Cloud CenterParticipantI 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.October 29, 2018 at 8:51 am #85783
Jeriss Cloud CenterParticipantAdditional screenshots hereby
October 29, 2018 at 8:51 am #85784
Jeriss Cloud CenterParticipantAdditional screenshots hereby
Attachments:
You must be logged in to view attached files.October 29, 2018 at 8:55 am #85789
Elise NoromitMemberHello,
Deactivate all the blocking plugins and configuration so that I could enter the default WP login page.
Best Regards
October 29, 2018 at 9:03 am #85800
Jeriss Cloud CenterParticipantI just disactivated almost all plugins. And the issue is still there. It is not due to any plugins, the issue is in the theme.
October 29, 2018 at 10:42 am #85865
Elise NoromitMemberHello,
I have corrected the code, now it works.
Best Regards
October 29, 2018 at 11:26 am #85878
Jeriss Cloud CenterParticipantGreat ! Perfect code. Thanks a lot.
This point can be marked completed.October 29, 2018 at 11:29 am #85879
Elise NoromitMemberYou are welcome!
-
AuthorPosts
The topic ‘Disactivate "Quick Preview" on Certain Devices Only’ is closed to new replies.
- You must be logged in to create new topics. Login / Register