- This topic has 5 replies, 2 voices, and was last updated 5 years, 6 months ago by
Support. This post has been viewed 1657 times
-
AuthorPosts
-
March 25, 2021 at 9:33 am #10037183
Frankie991
ParticipantHello, few weeks ago, Rodrigo, the Support helped us with adjusting the image in carousel in app-landing demo site, we again need your help.

Is it possible for images to slide behind the iPhone 12 notch ? The frame is png transparent image.
Can you help us with adjusting the images in frame, and if possible for images to slide behind the notch.
Thank you !
Template Version: 8.3.0March 26, 2021 at 12:09 am #10037200Support
KeymasterHello,
Here’s the code you need:
Replace all code at (css/custom.css):
/* Add here all your CSS customizations */ .owl-carousel.custom-background-1:before { width: calc(100% - 1px) } @media(max-width: 1199px) { .owl-carousel.custom-background-1:before { width: calc(100% - -3px); left: -2px; } } @media(max-width: 991px) { .owl-carousel.custom-background-1:before { width: calc(100% - -4px); left: -2px; } } @media(max-width: 767px) { .owl-carousel.custom-background-1:before { width: calc(100% - -2px); left: -2px; } .owl-carousel.custom-background-1 .owl-stage { max-height: 541px !important; } } @media(max-width: 575px) { .owl-carousel.custom-background-1:before { width: calc(100% - -4px); left: -2px; top: -1px; } .owl-carousel.custom-background-1 .owl-stage { max-height: 541px !important; } } .owl-carousel.custom-background-1 .owl-item img { border-radius: 25px; } .owl-carousel.custom-background-1 .owl-stage { overflow: hidden; max-height: 541px; } .owl-carousel.custom-background-1 { bottom: -15px; padding: 3.7% 4.3% 40%; } @media(min-width: 992px) { .custom-background-1 { max-width: 262px; } } @media(max-width: 991px) { .custom-background-1 { max-width: 278px; } .owl-carousel.custom-background-1:before { background-size: 100%; top: -1px; } } /*Hover info za admin panel za ikonice*/ .tooltip { position: relative; display: inline-block; border-bottom: 1px dotted black; } .tooltip .tooltiptext { visibility: hidden; width: 120px; background-color: black; color: #fff; text-align: center; border-radius: 6px; padding: 5px 0; /* Position the tooltip */ position: absolute; z-index: 1; } .tooltip:hover .tooltiptext { visibility: visible; }We hope this helps!
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
March 26, 2021 at 5:23 am #10037206Frankie991
ParticipantHi Rodrigo, its almost perfect, please check live version.
Is there a way for placing smartphone.png in front of overview-carousel-1.jpg because of this notch on smartphone frame?
Maybe then the angle transition can be little bit better.
Thank you for helping us!
March 26, 2021 at 7:09 am #10037211Support
KeymasterHello,
Oh right!
This is possible.
Change the first code at custom.css to:
.owl-carousel.custom-background-1:before { width: calc(100% - 1px); z-index: 1; pointer-events: none; }Hope this helps!
Kind Regards,
Rodrigo.
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
March 29, 2021 at 10:53 am #10037249Frankie991
ParticipantThank you!
March 29, 2021 at 11:37 pm #10037260Support
KeymasterHello,
Great the issue is resolved now!
If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads
-
AuthorPosts
This topic is marked as "RESOLVED" and can not rceive new replies.