Home › Forums › Legacy Support › Support queries › Styling issues › mouse effect
- This topic has 14 replies, 3 voices, and was last updated 4 years, 4 months ago by logan.
Viewing 15 posts - 1 through 15 (of 15 total)
-
AuthorPosts
-
December 13, 2019 at 6:11 pm #236840RaphSpectatormouse effectDecember 13, 2019 at 6:13 pm #236841RaphSpectatorThis reply has been marked as private.December 14, 2019 at 6:52 am #236861loganMemberhello, add this css in your customize >> custom css. it will get you what you want. .single .wp-block-image figure.aligncenter>a img.aligncenter:hover{ animation-name: angry-animation; animation-duration: 2s; animation-timing-function: linear; animation-delay: 0s; animation-iteration-count: infinite; animation-direction: normal; } @keyframes angry-animation { 0%{ -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } 50%{ -webkit-transform: scale(1.1); -ms-transform: scale(1.1); transform: scale(1.1); } 100%{ -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } }December 14, 2019 at 12:26 pm #236899RaphSpectatorThis reply has been marked as private.December 16, 2019 at 5:46 am #236957SteveMemberHey yoyo, Try adding this custom css -> Paste the given CSS in wp-admin > Appearance > Customize > custom css .single.single-post .content .wp-block-image figure.aligncenter img.aligncenter.wp-image-4142:hover { transform:scale(1.1) !important; } .single.single-post .content .wp-block-image figure.aligncenter img.aligncenter.wp-image-4142{ transition:transform 0.5s !important; } ThanksDecember 16, 2019 at 10:57 pm #237064RaphSpectatorThis reply has been marked as private.December 17, 2019 at 5:27 am #237074SteveMemberHey yoyo , we need to add custom css for all images where we need this effect because css classes are different and this effect can't be applied to all images at one go ! meanwhile for this image add this css -> .single.single-post img.wp-image-2519.size-medium.aligncenter:hover { transform:scale(1.1) !important; } .single.single-post img.wp-image-2519.size-medium.aligncenter { transition:transform 0.5s !important; } ThanksDecember 17, 2019 at 12:16 pm #237119RaphSpectatorThis reply has been marked as private.December 18, 2019 at 7:18 am #237176SteveMemberhey mate, we do not make any changes in functions.php because after theme update these changes will be gone. this file updates very frequently so we do not make any changes in that. if you are willing to not update theme in future then you can write your php codes in functions.php.But for the css we suggest to put the css in customize >> custom css. it is stored in database wp_posts table. for your desires there is only one solution: share the screenshots of all images with proper demarcation on which you want to make the effect. for point one share the links of the images where they are residing. i will write codes for each of them separately. this is the safest and easiest way.December 18, 2019 at 12:57 pm #237212RaphSpectatorThis reply has been marked as private.December 19, 2019 at 5:03 am #237252SteveMemberokay yoyo let me know when you are done ! thanksDecember 19, 2019 at 1:25 pm #237324RaphSpectatorThis reply has been marked as private.December 20, 2019 at 5:58 am #237365SteveMemberHello, have a look here: https://share.getcloudapp.com/2NurjQKr there are only 2 solutions:
- either use proper html in the default editor to make this look good.
- or use elementor for the post type = post. This will give you enormous settings to make your content appear amazingly wow. it is easy in use and flexible.also provides responsiveness !
December 20, 2019 at 3:13 pm #237424RaphSpectatorThis reply has been marked as private.December 21, 2019 at 11:09 am #237489loganMemberthanks for confirming. closing on behalf of steve. -
AuthorPosts
Viewing 15 posts - 1 through 15 (of 15 total)
- The topic ‘mouse effect’ is closed to new replies.