app-landing – carousel iphone notch

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10037183
    Frankie991
    Participant

    Hello, few weeks ago, Rodrigo, the Support helped us with adjusting the image in carousel in app-landing demo site, we again need your help.

    img

    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.0
    #10037200
    Support
    Keymaster

    Hello,

    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


    #10037206
    Frankie991
    Participant

    Hi 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!


    #10037211
    Support
    Keymaster

    Hello,

    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


    #10037249
    Frankie991
    Participant

    Thank you!


    #10037260
    Support
    Keymaster

    Hello,

    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


Viewing 6 posts - 1 through 6 (of 6 total)

This topic is marked as "RESOLVED" and can not rceive new replies.