Skip to content

General Discussion

5.0k Topics 21.7k Posts

A place to talk about anything Lay Theme related

  • Image multiply blend mode

    6
    0 Votes
    6 Posts
    2k Views
    arminunruhA
    sorry dont have time to support you in this custom css
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    21 Views
    No one has replied
  • This topic is deleted!

    1
    2
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Can I use WebM format for "Video Background Row"?

    2
    0 Votes
    2 Posts
    266 Views
    arminunruhA
    mmh have u tried? if it didnt work then it probably doesnt work why do u need to use webm, can u convert it to h264 mp4
  • This topic is deleted!

    1
    2
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    32 Views
  • This topic is deleted!

    5
    2
    0 Votes
    5 Posts
    18 Views
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • Vimeo Embed in Carousel

    4
    0 Votes
    4 Posts
    787 Views
    A
    @Richard Just wanted to say that I just realized the Vimeo option was added to the carousel and I just wanted to say THANK YOU! ahah. Hope you have a nice day!
  • Image hover addon with video possible?

    5
    0 Votes
    5 Posts
    628 Views
    M
    If anybody needs it, here is the script I used. It was tricky because there was an annoying phenomena between the hover and the scroll functions. Basically while scrolling the page, the browser (Chrome especially) doesn't send any other mouse coordinates, therefore the hovered video was constantly there till the scroll was stopped. Here is a script that avoid this problem: <script> let hoveredElement; let mouseX = 0, mouseY = 0; document.addEventListener('DOMContentLoaded', () => { document.addEventListener('mousemove', event => { mouseX = event.clientX; mouseY = event.clientY; hover(event.target); }); document.addEventListener('scroll', () => { const hoverTarget = document.elementFromPoint(mouseX, mouseY); if (hoverTarget) { hover(hoverTarget); } }); }); function hover(targetElement) { // If the target and stored element are the same, return early // because setting it again is unnecessary. if (hoveredElement === targetElement) { return; } // On first run, `hoveredElement` is undefined. if (hoveredElement) { if (hoveredElement.hasAttribute("data-videoid")) { document.getElementById(hoveredElement.getAttribute("data-videoid")).classList.remove('hoverscrolled'); console.log(hoveredElement.getAttribute("data-videoid")); console.log(document.getElementById(hoveredElement.getAttribute("data-videoid"))); } } hoveredElement = targetElement; if (hoveredElement.hasAttribute("data-videoid")) { document.getElementById(hoveredElement.getAttribute("data-videoid")).classList.add('hoverscrolled'); console.log(hoveredElement.getAttribute("data-videoid")); console.log(document.getElementById(hoveredElement.getAttribute("data-videoid"))); } } </script> HTML: <div data-videoid="one_data" > </div> <video id="one_data" class="vid_background" autoplay muted loop> <source src="https://somevideo.mp4" type="video/mp4"> Your browser does not support HTML5 video. </video> CSS: video.vid_background{ opacity: 0; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -5; width: 40%; position: fixed; height: 50%; -webkit-transition: none; -o-transition: none; transition: none; } video.vid_background.hoverscrolled { opacity: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: -5; width: 40%; position: fixed; height: 50%; -webkit-transition: none; -o-transition: none; transition: none; }
  • style numbers

    carousel carousel addon custom
    3
    0 Votes
    3 Posts
    751 Views
    P
    @Johan-Saj I just tried and it also didn't worked… but thanks!!
  • Thumbnail Grid Order is not correct

    9
    1 Votes
    9 Posts
    936 Views
    D
    @arminunruh cool!
  • Optimising heavy site and removing unwanted LayTheme elements

    4
    0 Votes
    4 Posts
    475 Views
    arminunruhA
    these are the image sizes that are generated: '_265', '_512', '_768', '_1024', '_1280', '_1920', '_2560', '_3200', '_3840', '_4096' these are the pixel widths so 768px and so on using the image srcset, only the correct size is loaded into the browser, based on the width of the image in the current browser and device this is more performant than just loading the original image so just because your uploads folder is very large it doesnt mean your website is slow when you visit it you can disable all plugins, lay theme works without any extra plugins but if you want to use any addons → laytheme.com click "addons" you need to keep them activated you can send me your website url and such so i can take a look myself: can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?
  • Image hover on images and products

    3
    0 Votes
    3 Posts
    330 Views
    B
    Hey Armin, thanks for the correction. Is the image swap on your to do list too? Thank you
  • Laytheme and Soundcloud

    8
    0 Votes
    8 Posts
    3k Views
    arminunruhA
    also there is this: +more → +embed i think you can just put a soundcloud song url in here maybe that works too
  • 0 Votes
    4 Posts
    474 Views
    arminunruhA
    ok maybe if it doesnt work its the wrong css mmh
  • Image hover speed and animation

    4
    0 Votes
    4 Posts
    508 Views
    arminunruhA
    mh maybe use a transition on the images themselves inside the container, not just the container (sry dont have time to do custom css for you :/)
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com