This topic is: not resolved
-
Hi Dear ,
I find it quite disturbing hover effects on home category grid page and want to change it.
.product-categories-grid-wrap { position: relative; border: 3px solid #fff; } .product-categories-grid-wrap .wall-col { margin: 0; padding: 0; height: 30rem; position: relative; overflow: hidden; } @media (max-width: 991px) { .product-categories-grid-wrap .wall-col { height: auto !important; padding-bottom: 0 !important; } } .product-categories-grid-wrap .wall-col .product-category-grid-featured { -webkit-transition: all 1s; -o-transition: all 1s; transition: all 1s; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; backface-visibility: hidden; } .product-categories-grid-wrap .wall-col:hover .product-category-grid-featured { -webkit-transform: scale3d(1.1, 1.1, 1); -ms-transform: scale3d(1.1, 1.1, 1); -o-transform: scale3d(1.1, 1.1, 1); transform: scale3d(1.1, 1.1, 1); } .product-categories-grid-wrap .wall-col:hover .product-category-grid-item:before { opacity: 1; filter: alpha(opacity=100); visibility: visible; width: 100%; height: 100%; } .product-categories-grid-wrap .wall-col:hover .product-category-grid-featured-summary h3 small, .product-categories-grid-wrap .wall-col:hover .product-category-grid-featured-summary h3 { color: #fff; } .product-categories-grid-wrap .wall-row { width: 100%; display: table; } .product-categories-grid-wrap .wall-row .wall-col { display: table-cell; float: none; position: relative; height: 100%; } @media (max-width: 767px) { .product-categories-grid-wrap .wall-row { display: block; } .product-categories-grid-wrap .wall-row .wall-col { display: block; } } .product-categories-grid-wrap .product-category-grid-item { display: block; } .product-categories-grid-wrap .product-category-grid-item:before { content: ""; position: absolute; width: 0; height: 0; left: 0; top: 0; z-index: 1; opacity: 0; filter: alpha(opacity=0); visibility: hidden; background: rgba(0, 0, 0, 0.2); -webkit-transition: all 0.3s ease-out 0s; -o-transition: all 0.3s ease-out 0s; transition: all 0.3s ease-out 0s; } .product-categories-grid-wrap .product-category-grid-item-wrap { overflow: hidden; position: relative; width: 100%; } .product-categories-grid-wrap .product-category-grid-item-wrap:before { width: 100%; height: 100%; content: ""; position: absolute; left: 0; top: 0; border: 3px solid #fff; z-index: 2; } .product-categories-grid-wrap .product-category-grid-featured { height: 0; padding-bottom: 100%; background-color: #f6f6f6; background-position: center center; background-repeat: no-repeat; background-size: 101% auto; -webkit-background-size: cover !important; -moz-background-size: cover !important; -o-background-size: cover !important; background-size: cover !important; position: relative; -webkit-transform: translate3d(0px, 0px, 0px); transform: translate3d(0px, 0px, 0px); } .product-categories-grid-wrap .product-category-grid-featured-wrap { overflow: hidden; } .product-categories-grid-wrap .title-in { height: 0; padding-bottom: 50%; } @media (max-width: 991px) { .product-categories-grid-wrap .title-in { height: 0; padding-bottom: 50%; } } .product-categories-grid-wrap .title-in .product-category-grid-item-wrap { position: static; } .product-categories-grid-wrap .title-in .product-category-grid-item-wrap .portfolio-featured { opacity: 0.6; filter: alpha(opacity=60); } @media (max-width: 767px) { .product-categories-grid-wrap .pull-right { float: none !important; } } .product-categories-grid-wrap .title-out { height: 0; padding-bottom: 25%; } .product-categories-grid-wrap .title-out .product-category-grid-featured { padding-bottom: 50%; } @media (max-width: 767px) { .product-categories-grid-wrap .title-out .product-category-grid-featured { padding-bottom: 100%; } } .product-categories-grid-wrap .height-auto { height: auto; padding: 0; } .product-categories-grid-wrap .height-auto .product-category-grid-featured { padding-bottom: 100%; } @media (max-width: 767px) { .product-categories-grid-wrap .height-auto .product-category-grid-featured { padding-bottom: 100%; } } .product-categories-grid-wrap .product-category-grid-featured-summary { position: absolute; top: 30px; left: 30px; z-index: 10; text-transform: uppercase; } .product-categories-grid-wrap .product-category-grid-featured-summary h3 { -webkit-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; font-size: 2em; } .product-categories-grid-wrap .product-category-grid-featured-summary h3 small { -webkit-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; font-size: 0.9rem; display: block; margin-top: 10px; }
Basically I need to change home category grid hover effect to the same as we have here:
https://www.clutched.com.au/shop/ (just hover on the product to see)
Thanks