Tagged: free themes, Themes
- This topic has 4 replies, 2 voices, and was last updated 14 hours, 33 minutes ago by
panoramicdove.
-
AuthorPosts
-
July 1, 2024 at 5:05 am #336427
panoramicdove
ParticipantHow can I disable all mouseover effects for Featured Images? I found this post about removing the flash effect, but I would also like to remove the zoom effect.
Also, is there any way to set the Caption for the Featured Image to appear underneath it by default?
Thank you in advance for any assistance.
July 1, 2024 at 9:36 am #336431sujapati
KeymasterHello Panoramicdove,
You can disable mouseover effects by adding CSS below:
.portfolio-section .wp-block-column:hover figure img, .wp-block-post-featured-image:hover img { filter: none; transform: none; } figure.wp-block-post-featured-image:hover:before { animation: none; }
Regarding your second query, currently, there is no built-in-functionality to display captions on featured images. However, you can utilize the Image Block, which allows you to add captions as needed.
Kind Regards,
SujapatiJuly 2, 2024 at 3:11 am #336441panoramicdove
ParticipantThank you Sujapati for your quick response, but that CSS hasn’t worked (either when used on its own or together with the CSS to remove the flash effect). Maybe I am not using the right terminology and it isn’t an image mouseover effect – it is whatever the ArtsyLens theme does that makes Featured Images zoom & flash.
July 2, 2024 at 4:49 am #336442sujapati
Keymaster@panoramicdove: We apologize for the inconvenience. The issue with the provided CSS not functioning as expected may be due to it being overridden by the theme’s CSS. Please try adding the following CSS:
.portfolio-section .wp-block-column:hover figure img, .wp-block-post-featured-image:hover img { filter: none!important; transform: none!important; } figure.wp-block-post-featured-image:hover:before { animation: none!important; }
If the problem persists, kindly provide us with your site URL so we can further investigate.
Kind Regards,
SujapatiJuly 3, 2024 at 5:12 am #336465panoramicdove
ParticipantThanks so much Sujapati, that new CSS has solved the issue.
-
AuthorPosts
- You must be logged in to reply to this topic.