Home › Forums › Space themes support forum › add to cart on over animation and hover content deactivate
add to cart on over animation and hover content deactivate
- This topic has 12 replies, 2 voices, and was last updated 3 months, 3 weeks ago by Luke Nielsen.
-
AuthorPosts
-
June 28, 2024 at 1:11 pm #576190
Jean-MichelParticipantHi,
I would like to deactivate the animation so that everything stays still when you move the mouse over it and there is no “add to cart” “compare” “quick view” at the bottom. The view should remain as it loads without hovering.can you give me a code?
Kind regards: Jean
July 2, 2024 at 10:53 am #576976
Luke NielsenKeymasterHello,
Try to use this custom to disable the hover effect:
.xts-product .xts-product-thumb:hover .xts-product-hover-image { opacity: 0; } .xts-prod-design-summary-alt .xts-product:hover { transform: none; }
Kind Regards
July 2, 2024 at 11:12 am #577000
Jean-MichelParticipantThis CSS code doesn’t work.
July 2, 2024 at 11:26 am #577005
Luke NielsenKeymasterHello,
This one should work:
.xts-product .xts-product-thumb:hover .xts-product-hover-image { opacity: 0; } .xts-prod-design-add-to-cart .xts-product:hover { transform: none; box-shadow: none; } .xts-prod-design-add-to-cart .xts-product .xts-product-content-footer-inner { visibility: visible; opacity: 1; transform: none; } .xts-prod-design-add-to-cart .xts-product .xts-product-content { transform: translateY(-25px); }
https://gyazo.com/7da86d26f469e771acccebf927018e3b
Kind Regards
July 3, 2024 at 9:03 am #577276
Jean-MichelParticipantNot quite right. This is the hover view. Below you can see “add to cart” and “compare”. The image is also partially cut off because of the hover frame.
https://nimb.ws/UD8dhvWThe view should remain as here: https://nimb.ws/dzxHKsL
Kind RegardsJuly 3, 2024 at 2:51 pm #577440
Luke NielsenKeymasterHello,
The buttons are hidden so it’s impossible to show them and do not partially cut off the image. In this case, we can make the buttons to be displayed on hover otherwise I suggest you change the product design to another one.
Let me know if you have any questions.
Kind Regards
October 3, 2024 at 6:38 pm #602316
Jean-MichelParticipantIs it then at least possible that on mobile
ad to cart and compare is not displayed. The text is too long so that it is cut off?Attachments:
You must be logged in to view attached files.October 4, 2024 at 9:37 am #602411
Luke NielsenKeymasterHello,
If you want to hide it on a mobile, use a below custom CSS:
@media (max-width: 767px) { .xts-prod-design-add-to-cart .xts-product-add-btn { display: none; } }
But a better solution is to use the Loco Translate plugin and make that title shorter.
Kind Regards
October 4, 2024 at 11:24 am #602464
Jean-MichelParticipantOK, thank you. Another question:
How can I adjust h3, h4, etc. The headings are too big for me. I have a lot of settings in the theme settings, but I can’t edit this type of heading anywhere. I only found titles and entity names. Best regardsOctober 4, 2024 at 12:01 pm #602474
Luke NielsenKeymasterHello,
Please clarify the h3, h4 tags for product titles? Or where exactly do you mean?
Kind Regards
October 4, 2024 at 12:45 pm #602504
Jean-MichelParticipantYes for product titles, especially for product descriptions. If I format headings in h3 tags, they are too big for me.
October 4, 2024 at 12:48 pm #602505
Jean-MichelParticipantHere is an example
Attachments:
You must be logged in to view attached files.October 4, 2024 at 5:39 pm #602609
Luke NielsenKeymasterHello,
Send me access to the admin panel and the URL link to the product from the screenshot.
Thank you in advance.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register