Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • in reply to: Porftolio tiles cut in half after theme update. #91552
     danio987
    Participant

    Thanks,
    I think that I found solution for this by setting this value to “auto”.

    COPY CODE
       portfolioVideo: function() {
            var elements  = $(".porto-video .kleo-video-embed");
            elements.height(function () {
                var image = $(this).closest(".portfolio-items").find('.portfolio-image img, .kleo-banner-slider img').eq(0);
                return image.length && image.height() > 0 ? image.height() : "160";
            });
        },
    

    I saw that you hiring, and you look like cool outfit 😉
    Probably I will drop line in your career tab.

    And still wait for your replay.
    Thanks for guiding me.

    in reply to: Porftolio tiles cut in half after theme update. #91532
     danio987
    Participant

    Well I probably found issue with the code.

    Here is the thing

    COPY CODE
        portfolioVideo: function() {
            var elements  = $(".porto-video .kleo-video-embed");
            elements.height(function () {
                var image = $(this).closest(".portfolio-items").find('.portfolio-image img, .kleo-banner-slider img').eq(0);
                return image.length && image.height() > 0 ? image.height() : "160";
            });
        },
    	

    When all portfolio items are set to video script probably doesn’t recognize its embeded img so its sets [switch] its height value to 160px. And this is actually happening on my site. 🙂

    Do you have any clues how to resolve this?
    I would be more than happy if you have some ideas.

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

Log in with your credentials

Forgot your details?