Tagged: enfold
-
AuthorPosts
-
September 24, 2013 at 12:01 pm #165568
Hi,
it’s possible to force the final opacity of the “image overlay effect” on the portfolio item, from 0.7 (default setting) to 1.0 with custom.css (without touching .js)?My website is http://www.chricchio.com
Thanks!
Chris.- This topic was modified 11 years, 1 month ago by Christian Ronchi.
September 25, 2013 at 3:31 pm #166121Hey Chris!
Try adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:
.image-overlay:hover { opacity: 1 !important; }
Best regards,
DevinSeptember 25, 2013 at 4:10 pm #166137Thangs Devin,
i’ve try, but with this i lost the fading animation, from 0 to 1.
I need to have opacity 1 for the orange circle (.image-overlay-inside), only at the end of the animation, but at the beginnig of the animation both opacity (image-overlay and image-overlay-inside) set to 0, in order to have a fade-in animation.September 26, 2013 at 4:41 am #166395Hey!
What you’re asking is a bit complicated and I doubt if this can be done via CSS. Please hire someone to modify the overlay effect.
Best regards,
IsmaelSeptember 26, 2013 at 10:10 am #166521Hi!
thanks for the reply. I don’t think is so complicated, only i don’t understand why i can’t override the opacity of the element with the one write in css inside my keyframes animation..image-overlay { overflow: hidden; } .image-overlay .image-overlay-inside::before { font-size: 30px; } @-webkit-keyframes avia_pop_small { 0% { -webkit-transform: scale(6); opacity:(0);} 100% { -webkit-transform: scale(1);opacity:(1); } } @-moz-keyframes avia_pop_small { 0% { -moz-transform: scale(6);opacity:(0);} 100% { -moz-transform: scale(1); opacity:(1);} } @-o-keyframes avia_pop_small { 0% { -o-transform: scale(6); opacity:(0);} 100% { -o-transform: scale(1); opacity:(1);} } @keyframes avia_pop_small { 0% { transform: scale(6); opacity:(0);} 100% { transform: scale(1); opacity:(1);} } a:hover .image-overlay .image-overlay-inside { -webkit-animation: avia_pop_small 0.35s 1 cubic-bezier(0.000, 0.980, 0.440, 1.100)!important; -moz-animation: avia_pop_small 0.35s 1 cubic-bezier(0.000, 0.980, 0.440, 1.100)!important; -o-animation: avia_pop_small 0.35s 1 cubic-bezier(0.000, 0.980, 0.440, 1.100)!important; animation: avia_pop_small 0.35s 1 cubic-bezier(0.000, 0.980, 0.440, 1.100)!important; }
September 27, 2013 at 7:18 am #167042Hello!
Just edit the js/avia.js file, line 288, change 0.7 to 1:
Regards,
Josue -
AuthorPosts
- The topic ‘Enfold Image Overlay Opacity with CSS’ is closed to new replies.