Ah Great. Didn‘t know the sections are adressed as slides when using horizontal direction. Easy ;)
kalamakumaran
Posts
-
autoplay on fullscreen slider -
autoplay on fullscreen sliderPm!
-
autoplay on fullscreen slidertry this. haven't tested it. maybe it works ;)
<script> window.laytheme.on("newpageshown", function(layoutObj, type, obj) { var slideTimeout; function moveHorizontalSection() { var activeSection = jQuery.fn.fullpage.getActiveSection(); var nextSection = activeSection.index() + 1; if (nextSection <= jQuery.fn.fullpage.getSections().length) { jQuery.fn.fullpage.moveTo(nextSection, 0); } else { jQuery.fn.fullpage.moveTo(1, 0); } } slideTimeout = setInterval(moveHorizontalSection, 10000); }); </script>
-
autoplay on fullscreen sliderif you are using the vertical direction of the fullscreen slider put this in Custom <head> content
<script> window.laytheme.on("newpageshown", function(layoutObj, type, obj){ slideTimeout = setInterval(function () { jQuery.fn.fullpage.moveSectionDown(); }, 10000); }); </script>
-
Footer elements displayed in the LightboxMaybe you need to update Laytheme?
-
overlay vertical position & mobile viewmaybe add this to custom desktop css?
.lay-overlay > .lay-content {
transform: translateX(-50%);
} -
Footer elements displayed in the Lightbox"To exclude an image from the Lightbox, please right click it in the Gridder and choose “Lightbox off for this image”.
https://laytheme.com/addons/lightbox.html
-
3D logo size -
invert carousel slide directionGive the carousel you want to invert the class "reverse"
Add this to your Custom JS
<script> window.laytheme.on("newpageshown", function(){ // Get the swiper-container element var swiperContainer = document.querySelector('.swiper-container'); // Check if the element exists and has the "reverse" class if (swiperContainer && swiperContainer.classList.contains('reverse')) { // Add the dir="rtl" attribute swiperContainer.setAttribute('dir', 'rtl'); } }); </script>
and it should work!
But apparently it seems to be not possible to add classes to carousels. Is it a bug @arminunruh ?
Because when I remove the if statement out of the code it affects the .swiper-container and it inverts the direction.
-
row backgrounds not visible in gridder@arminunruh Thanks <3
-
Laytheme 5.7.3 - background images white in editorI've the same problem. It seems to be happening when the rows have background colors and background images at the same time. The background color overlays the images. at least in my case....
-
A modal/pop up window displaying extra infoIt can be done easily with custom css and a bit of js.
Use one of your rows to put that extra info in. Give it a class style and hide it with custom css.
Put a button somewhere to make the pop-up hide and show on click. -
row backgrounds not visible in gridderHi,
after the latest update the left and right row background images are not visible in the gridder (backend). Tried to delete and set up again. Doesn‘t fix the issue. They are visible on the frontend.
Best,
Basti -
Sticky Footer now has Background@CesareCesariano
Send me your login and I’ll fix it -
Sticky Footer now has Background -
Sticky Footer now has Background@CesareCesariano
Your footer still has a white background color. Clear it and it should be okay. -
large Image gallery with filter options - need help!I sent you a dm!
-
large Image gallery with filter options - need help!Hey Tobias,
for what reason do you move your website to laytheme?
It seems to work pretty well.Best,
Basti -
how to Lottie / json animations?Haven't tested out but you can try to:
- Include the Lottie library in your project via CDN Link
<script src="lottie.min.js"></script>
-
Give the row you would like to assign the animation to a class oder id (e.g. #animation-container)
<script> window.laytheme.on("newpageshown", function(){ const animationContainer = document.getElementById('animation-container'); // replace with your div ID const animationData = { container: animationContainer, renderer: 'svg', loop: true, autoplay: true, path: 'your-animation.json' // replace with the path to your Lottie JSON file }; const animation = lottie.loadAnimation(animationData); }); </script>
- Add this to your Custom CSS
#animation-container { background-image: url("data:image/svg+xml;utf8," + encodeURIComponent(animationData.container.innerHTML)); }
to make the created SVG your background-image
Good luck ;)
-
Fix image at certain scroll position & disable Link function of Project ThumbnailsDm!