Comments Jesse started the conversationOctober 5, 2016 at 3:55amHi - I'd like to add focus functionality to the items in the portfolio masonry grid. Tried the CSS below, but didn't work. Please advise...item:hover .item-content, .item:focus .item-content { -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; -ms-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; } .item:hover .item-overlay, .item:focus .item-overlay { background: rgba(0,0,0,0.8); opacity: 1; } .item:hover .item-cat, .item:focus .item-cat { opacity: 1; -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; -ms-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; -webkit-transform: translateY(0px); transform: translateY(0px); } .item:hover .item-title, .item:focus .item-title { opacity: 1; -webkit-transition: all 0.5s ease-in-out 0.3s; -moz-transition: all 0.5s ease-in-out 0.3s; -o-transition: all 0.5s ease-in-out 0.3s; -ms-transition: all 0.5s ease-in-out 0.3s; transition: all 0.5s ease-in-out 0.3s; -webkit-transform: translateY(0px); transform: translateY(0px); } 1,974Support repliedOctober 17, 2016 at 3:34pmHi,Please give us an example of what do you want to achieve. thxThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyJesse repliedNovember 4, 2016 at 6:44amHi - I found this code which works. Please advise on how to implement, especially the HTML and jQuery, within the Nerduck theme for the .item-overlay, .item-content, .item-title, .item-cat in the masonry portfolio . Thanks.http://jsfiddle.net/c_kick/s9rB4/ 1,974Support repliedNovember 7, 2016 at 3:42pmHello,the portfolio item implementations can be found in /sections/portfolio_section_item.phpand the js code in /js/scripts.js function MasonryPortfolio()Thank youThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policy Sign in to reply ...
Hi - I'd like to add focus functionality to the items in the portfolio masonry grid. Tried the CSS below, but didn't work. Please advise..
.item:hover .item-content, .item:focus .item-content {
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}
.item:hover .item-overlay, .item:focus .item-overlay {
background: rgba(0,0,0,0.8);
opacity: 1;
}
.item:hover .item-cat, .item:focus .item-cat {
opacity: 1;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
-webkit-transform: translateY(0px);
transform: translateY(0px);
}
.item:hover .item-title, .item:focus .item-title {
opacity: 1;
-webkit-transition: all 0.5s ease-in-out 0.3s;
-moz-transition: all 0.5s ease-in-out 0.3s;
-o-transition: all 0.5s ease-in-out 0.3s;
-ms-transition: all 0.5s ease-in-out 0.3s;
transition: all 0.5s ease-in-out 0.3s;
-webkit-transform: translateY(0px);
transform: translateY(0px);
}
Hi,
Please give us an example of what do you want to achieve. thx
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi - I found this code which works. Please advise on how to implement, especially the HTML and jQuery, within the Nerduck theme for the .item-overlay, .item-content, .item-title, .item-cat in the masonry portfolio . Thanks.
http://jsfiddle.net/c_kick/s9rB4/
Hello,
the portfolio item implementations can be found in /sections/portfolio_section_item.php
and the js code in /js/scripts.js function MasonryPortfolio()
Thank you
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy