Carousel portfolio


#1

hi i want toknow how can i do that the portfolio carousel shows only the lightbox (not title and not link to post) and with a different icon, maybe a camera. Its possible? sorry for my english i speak spanish.

Thanks for your time :slight_smile:


#2

Hello,

Please add this code in Theme Options > Advanced > Custom CSS:

.portfolio-carousel .item-permalink, .portfolio-carousel .item-content {
      display: none;
}

.portfolio-carousel.style-classic .flex-viewport ul li:hover .item-lightbox {
    left: 115px;
}

To change the icon, please add this code in Theme Options > Advanced > Custom JS:

jQuery('.mk-portfolio-item .mk-lightbox').html('<svg class="mk-svg-icon" data-name="mk-moon-camera-2" data-cacheid="icon-5b9b696e06008" style=" height:32px; width: 32px; " xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M480 96h-96l-16.179-40.717c-3.202-12.805-16.621-23.283-29.821-23.283h-164c-13.2 0-26.619 10.478-29.821 23.283l-16.179 40.717h-96c-17.6 0-32 14.4-32 32v352c0 17.6 14.4 32 32 32h448c17.6 0 32-14.4 32-32v-352c0-17.6-14.4-32-32-32zm-32 352h-384v-288h107.437l25.431-64h118.265l25.431 64h107.436v288zm-192-264c-66.168 0-120 53.832-120 120s53.832 120 120 120 120-53.832 120-120-53.832-120-120-120zm0 192c-39.701 0-72-32.299-72-72s32.299-72 72-72 72 32.299 72 72-32.299 72-72 72z"></path></svg>');

Best regards,
Artbees Support.