Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.7k Topics 20.3k Posts
  • Hover on simple Images

    37
    0 Votes
    37 Posts
    5k 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
  • Whole row clickable to expand/collapse

    2
    0 Votes
    2 Posts
    45 Views
    arminunruhA
    its not possible!
  • Carousel - Always scrolling

    7
    0 Votes
    7 Posts
    136 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
    60 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
    244 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?
  • Event plugin: show lay header and footer on event page

    2
    0 Votes
    2 Posts
    29 Views
    arminunruhA
    i think the footer is only shown based on the post type in lay options → footers, you can show hide the footer for categories, posts, pages. this is probably a new post type, there is no option for this i don't know why some things show when youre logged in as an admin and some dont, maybe disable the plugin fastest cache? i think the compatibility is limited because its just a post type that lay theme never uses
  • plugin wp fastest cache: Exclude projects?

    2
    0 Votes
    2 Posts
    55 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
    52 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
    59 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
    239 Views
    P
    It worked like magic, thanks a lot!
  • changing menu bar color on a specific page

    8
    0 Votes
    8 Posts
    386 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
    54 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
    35 Views
    J
    That did it. Thank you very much.
  • remove rounded corners for row background images

    3
    0 Votes
    3 Posts
    71 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
    0 Votes
    10 Posts
    116 Views
    A
    @Hayo-Gebauer Great stuff!
  • change color of textbox - general setting

    3
    0 Votes
    3 Posts
    50 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
    41 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
    91 Views
    D
    thanks so much @felix_rabe !

I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com

Before you post:
  1. When using a WordPress Cache plugin, disable it or clear your cache.
  2. Update Lay Theme and all Lay Theme Addons
  3. Disable all Plugins
  4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

This often solves issues you might run into

When you post:
  1. Post a link to where the problem is
  2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
  3. If the problem is difficult to explain, post screenshots / link to a video to explain it
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com