Skip to content

General Discussion

5.0k Topics 21.7k Posts

A place to talk about anything Lay Theme related

  • Image hover Fade Transition Speed

    8
    0 Votes
    8 Posts
    2k Views
    StarcS
    @Richard Hi Richard, i think there is no .lay-image-responsive.setsizes.h100.loaded in the actual version of imagehover. Can u help me please?
  • plugin wp fastest cache: Exclude projects?

    2
    1
    0 Votes
    2 Posts
    1k Views
    arminunruhA
    yea should be "beiträge". i just renamed posts to projects and in german that should be beiträge
  • Slow loading since 7.8.8

    3
    0 Votes
    3 Posts
    307 Views
    A
    Hello Armin, You're right! Now it's fine! It loads super fast! I really don’t know what could have been the reason. :-/ I tried it on two different computers with two different internet connections. Maybe both of them just happened to be bad by coincidence. But thank you for your effort! :-D All the best, Aleks
  • Adaptive background video / or different streaming service

    4
    0 Votes
    4 Posts
    412 Views
    arminunruhA
    ok if you update lay theme now, go to customize → intro. here u will find: [image: Screenshot 2025-01-24 at 18.25.08.png] in here, you can add the html code of your video you'd need to write custom css for that video to be sized properly and for it to have the correct placement inside the intro if you want i can help you with this but first u'd need to add your html there and then post the link to the website about having a video background for the website: you'd need to add your video html markup in: lay options → custom css & html → custom html at bottom then you'd need to write css to position that video correctly i can also help u with that, but first you'd need to add the html there and then post a link to your website here
  • Project INdex > Active TEXT Color

    10
    0 Votes
    10 Posts
    2k Views
    P
    It worked like magic, thanks a lot!
  • changing menu bar color on a specific page

    8
    0 Votes
    8 Posts
    1k Views
    arminunruhA
    try this this makes all menubars of project pages black: body[data-type="project"] .navbar { background-color: black!important; } similarly you can do: body[data-type="page"] .navbar { background-color: green!important; } which makes all "pages" menubars green
  • How to script execution on all project pages

    4
    0 Votes
    4 Posts
    399 Views
    arminunruhA
    hey please dont insert jquery, its already inserted!, so remove this: <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> please read this on how to do something when a new page is loaded: https://laytheme.com/documentation/custom-javascript.html#newpage-events we have a custom javascript event window.laytheme.on("newpageshown", function(){ the onload event will only trigger one time, instead of every time you go to another page IF your website doesnt do a hard reload on navigation but instead uses the default ajax way of navigating your website uses the normal ajax navigation this is how i would do it. on newpageshown, it checks if the page is a project or not. if it is, it hides the star. if its not a project it shows the star and moves it. <script> window.laytheme.on("newpageshown", function(){ if(jQuery('body').attr('data-type') == 'project'){ jQuery('#logo').hide(); } else { jQuery('#logo').show(); move(); } }) function move() { let img = document.getElementById('logo'); let imgWidth = img.width; // Récupère la largeur actuelle de l'image let imgHeight = img.height; // Récupère la hauteur actuelle de l'image // Calcule les positions aléatoires en tenant compte des dimensions de l'image let maxX = window.innerWidth - imgWidth; // Position horizontale maximale let maxY = window.innerHeight - imgHeight; // Position verticale maximale // Déplace l'image dans un emplacement aléatoire mais dans les limites de la fenêtre img.style.left = Math.floor(Math.random() * maxX) + "px"; img.style.top = Math.floor(Math.random() * maxY) + "px"; } </script> you may also want to use this css #logo{ pointer-events:none; } this way you can click things that are behind the star
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    12 Views
    No one has replied
  • Next Project Link skipping projects

    3
    0 Votes
    3 Posts
    289 Views
    J
    That did it. Thank you very much.
  • remove rounded corners for row background images

    3
    0 Votes
    3 Posts
    417 Views
    R
    @alasdair17 Thanks, it works! Looks like I had the "img" and class the wrong way around... Cheers :)
  • Pagespeed performing much slower on mobile

    10
    3
    0 Votes
    10 Posts
    1k Views
    A
    @Hayo-Gebauer Great stuff!
  • change color of textbox - general setting

    3
    1
    0 Votes
    3 Posts
    392 Views
    D
    @felix_rabe exactly that's what I thought as well. seems it was a bug and is fixed now. thanks.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Media library folder plug in

    2
    0 Votes
    2 Posts
    266 Views
    A
    hey, yep filebird works well with laytheme, you can create folders and sub folders for your media items. It is free but the paid version allows you to see the sub folders when you are uploading/modifying images to the gridder.
  • full screen gradient

    3
    0 Votes
    3 Posts
    641 Views
    D
    thanks so much @felix_rabe !
  • How to make horizontal and vertical images in Carousel have the same size

    12
    0 Votes
    12 Posts
    1k Views
    J
    thank you very much! It now works perfectly! Have a good day
  • link in footer jumps on hover

    7
    0 Votes
    7 Posts
    637 Views
    arminunruhA
    cause its position: fixed; its css MAYBE
  • Custom css for backend editor

    6
    0 Votes
    6 Posts
    1k Views
    arminunruhA
    ok very good
  • How to make row background transparent

    8
    0 Votes
    8 Posts
    926 Views
    arminunruhA
    i changed my first css that i posted at first. it seems like it made too many things transparent. ^^
  • advice for captions between desktop and mobile

    5
    0 Votes
    5 Posts
    655 Views
    A
    @felix_rabe Perfect, thank you so much again!
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com