This topic has 9 replies, 2 voices, and was last updated 2 years, 1 months ago ago by EE Eric
Hi there,
How can I delete the URL link in the portfolio section on the digital marketing demo? I want only to show bigger pictures but I don’t want to move my clients to another page for case studies?
Hello,
Try to add the next code in Theme Options > Theme custom CSS:
.home .portfolio-item-inner .portfolio-image {
pointer-events: none;
}
Regards
link is off, but now I can not zoom in picture
Add this code also:
.home .portfolio-item-inner .portfolio-image .zoom {
pointer-events: all;
}
Regards
works! thank you. Also can I add some extra css to zoom in after click everywhere on the photo? Not only the plus button?
Hello,
.portfolio-image .zoom {
position: static;
}
.portfolio-image .zoom .btn-lightbox {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
display: block;
background: transparent !important;
border: none !important;
}
.portfolio-image .zoom .btn-lightbox:before {
width: 3rem;
height: 3rem;
display: inline-flex;
align-items: center;
justify-content: center;
border: 2px solid rgba(255,255,255,.7);
position: relative;
top: 15px;
left: 15px;
}
.portfolio-image .zoom .btn-lightbox:hover:before {
background: var(--et_dark-color);
border-color: var(--et_dark-color);
}
Regards
doesn’t work
Please change the code to:
.portfolio-image .zoom {
position: static !important
}
.portfolio-image .zoom .btn-lightbox {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100% !important;
height: 100% !important;
display: block !important;
background: transparent !important;
border: none !important;
}
.portfolio-image .zoom .btn-lightbox:before {
width: 3rem;
height: 3rem;
display: inline-flex !important;
align-items: center;
justify-content: center;
border: 2px solid rgba(255,255,255,.7);
position: relative;
top: 15px;
left: 15px;
}
.portfolio-image .zoom .btn-lightbox:hover:before {
background: var(--et_dark-color);
border-color: var(--et_dark-color);
}
Regards
now works great! thanks
The issue related to '‘How can I delete link on the portfolio shortcut on the main page?’' has been successfully resolved, and the topic is now closed for further responses