Skip to content

General Discussion

A place to talk about anything Lay Theme related
5.0k Topics 21.6k Posts
  • How to Display Different Titles and Images for Mobile and Desktop

    2
    0 Votes
    2 Posts
    186 Views
    arminunruhA
    hey! use custom phone layouts feature: https://laytheme.com/documentation/custom-phone-layouts.html with this you can have different content on your mobile version layout / content. to have a different image as a site title, you can go to customize → mobile (smartphone) → mobile site title here for example you can choose to use an image and then choose any image u want
  • 0 Votes
    4 Posts
    385 Views
    arminunruhA
    Oh so you dont need to move the website from one server to another, basically you only want to change the sites domain name i would say: https://wordpress.org/plugins/better-search-replace/ with this plugin you can replace all occurences of your old url with the new one. do this. now probably the website doesnt work when you try to access it with the old url. now change the url in your webhost settings. then you should be able to access your site with the new url i think. make sure to create a backup before doing that!
  • Marquee not working in Overlay

    14
    0 Votes
    14 Posts
    1k Views
    StarcS
    @arminunruh thank you!
  • dynamically Resizing HTML element to show content of an iFrame

    5
    0 Votes
    5 Posts
    700 Views
    arminunruhA
    it doesnt really work no? the iframe seems not to have a good height here: https://zmr.eab.myftpupload.com/latest-jobs/ but it seems like you havent applied the css that i posted in my last post?
  • 0 Votes
    3 Posts
    115 Views
    arminunruhA
    which colors do u want to change exactly? can u be more specific pls. sorry about the wait! .type-thumbnailgrid . thumb[data-id="3193"] .ph{ box-shadow: 10px 5px 5px red; } Enter this css in "lay options" -> "custom css & html" -> "custom css for desktop" this gives the thumbnail of a project with id 3193 a red shadow: [image: 1738156223875-screenshot-2025-01-29-at-14.10.21.png] when u edit a project, u can find its id here in the URL: [image: 1738156240720-screenshot-2025-01-29-at-14.10.35.png]
  • Video project thumbnails

    2
    0 Votes
    2 Posts
    210 Views
    arminunruhA
    [image: 1738155763858-screenshot-2025-01-29-at-14.02.39.png] when i set a project thumbnail and a project video, the video is shown! maybe u have custom css that makes it so the video is not shown? do you also use the thumbnail mouseover image feature? but even with this one activated, it should still just show the video at first.
  • stack element + browser height issue

    6
    2
    0 Votes
    6 Posts
    951 Views
    arminunruhA
    recently i was working on making stacks be able to also have elements side by side in it. for one lay update or two, i accidentally published the work in progress of that code. so that could have been the reason why stacks have been behaving strangely.
  • 0 Votes
    6 Posts
    1k Views
    arminunruhA
    does it work when you turn off browser height for that row?
  • Hover on simple Images

    37
    0 Votes
    37 Posts
    12k Views
    arminunruhA
    maybe doing this course will help also https://www.khanacademy.org/computing/computer-programming/html-css/web-development-tools/a/using-the-browser-developer-tools
  • Carousel - Always scrolling

    7
    0 Votes
    7 Posts
    1k Views
    arminunruhA
    maybe this: https://github.com/nolimits4web/swiper/discussions/5773 seems like if you use some custom css you may get it to work. however it apparently only works if all slides have the same witdh
  • Yoast and Rank Math do not recognize internal or external links

    2
    0 Votes
    2 Posts
    842 Views
    arminunruhA
    u mean here? https://rankmath.com/tools/seo-analyzer/ when i enter a url i dont see a section for links links are just <a href="…"> anchor tags. all lay theme websites have anchor tags on them for links, not sure why they wouldn't get recognized
  • Image hover Fade Transition Speed

    8
    0 Votes
    8 Posts
    1k 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
    245 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
    363 Views
    arminunruhA
    ok if you update lay theme now, go to customize → intro. here u will find: [image: 1737739511807-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
    1k 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
    326 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
    235 Views
    J
    That did it. Thank you very much.
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com