Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • in reply to: Post Carousel image sizes #146740
     danio987
    Participant

    Hi Radu for some reason i cant see this option i kleo post carousel popup.
    Can you tell me why?

    Attachments:
    You must be logged in to view attached files.
    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. #91534
     danio987
    Participant

    BTW Gratulations for 10 000 post!

    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.

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

    When I configure portfolio in such way that it displays all kinds of videos, pictures hosted on my server everything works like it is shown on site which you posted. But when I set up only external videos from youtube or vimeo they are trimmed a bit.

    Wonder where values for width and height are calculated.

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

    I think that it is because height is calculated dynamically based on two exceptions.
    For images and embeded videos on server is calculated properly and for all videos that are somewhat divided by 2.
    Thats why inline style is half of proper value.

    I think that change in some js file has to be done. Because your solution doesn’t seams work.

    Attachments:
    You must be logged in to view attached files.
Viewing 6 posts - 1 through 6 (of 6 total)

Log in with your credentials

Forgot your details?