Forum Replies Created
Viewing 2 posts - 1 through 2 (of 2 total)
-
Author
-
danio987Participant
Thanks,
I think that I found solution for this by setting this value to “auto”.COPY CODEportfolioVideo: 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.danio987ParticipantWell I probably found issue with the code.
Here is the thing
COPY CODEportfolioVideo: 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. -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)