Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

L

LouisS

@LouisS
About
Posts
11
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Hover on simple Images
    L LouisS
    Jan 20, 2025, 9:01 PM

    Hi Armin,
    I think I put my captions in the wrong place so they work again, but the darkening of the image does not work. It also darkens the caption when the code is like this:

    .slug-editions .img {
    transition: all 300ms ease;
    }
    
    .slug-editions .img:hover {
    filter: brightness(0.5);
    }
    

    and does not work like it was before at all:

    .slug-editions .img img{
    transition: all 300ms ease;
    }
    
    .slug-editions .img:hover img{
    filter: brightness(0.5);
    }
    

    not sure if there is a dot before img missing, but does not make a difference.
    How can I darken the image, but keep the caption white?
    https://intrastruktur.me/editions/
    Best,
    Louis

    General Discussion

  • Hover on simple Images
    L LouisS
    Dec 23, 2024, 7:17 PM

    Hi,
    I am wondering if the appearance of an image caption on top of an image when you hover over it is still possible. I have used the CSS code that is in the post here, but I don't see how this works with the new versions. I get a darker image when hovering, but no captions anymore. Can I add a lightbox caption and let that appear somehow?

    .slug-editions .img img{
    transition: all 300ms ease;
    }
    
    .slug-editions .img:hover img{
    filter: brightness(0.5);
    }
    
    .slug-editions .img .caption{
    opacity: 0;
    transition: opacity 300ms ease;
    }
    
    .slug-editions .img:hover .caption{
    opacity: 1;
    }
    
    .slug-editions .img .caption{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    General Discussion

  • Intro feature changed on mobile?
    L LouisS
    Nov 24, 2024, 5:10 PM

    Thanks :) works again!

    General Discussion

  • Intro feature changed on mobile?
    L LouisS
    Nov 23, 2024, 10:52 AM

    Hi,
    I always had an image as an intro that would fill the screen in the mobile version. I could then tilt my phone to left or right and it would move through the image. It looked super cool. Now the image is scaled to the screen width and it just moves up and down. Looks completely boring. Has this been changed? I want the old function back :)
    Desktop still looks the same.
    Website: https://intrastruktur.me

    Cheers,
    Louis

    General Discussion

  • Lightbox Phone
    L LouisS
    Jun 6, 2023, 9:11 PM

    Would also like to have that :)

    General Discussion mobile lightbox addon lightbox

  • Transparent Navbar (header)
    L LouisS
    May 28, 2023, 10:17 AM

    @arminunruh Thanks! I am very new to this and just copy paste pieces together :)
    How can I exclude the mobile menu bar from my script? I want it to become 100% opacity instead of 0%. How do I just target the desktop menu bar without the mobile menu bar? I am having the script in Custom head content right now.
    Best,
    Louis

    General Discussion

  • Transparent Navbar (header)
    L LouisS
    May 18, 2023, 11:37 AM

    Now I figured it out. DOnt know why it didnt work in the beginning. Added the blur filter and some transperancy with the rgba.

    <script>
        jQuery(document).ready(function(){
          jQuery(window).scroll(function() { // check if scroll event happened
            if (jQuery(document).scrollTop() > 50) { // check if user scrolled more than 50 from top of the browser window
                jQuery(".navbar").css("background-color", "rgba(255, 255, 255, 0.4)"); // if yes, then change the color of class "navbar" to white (#ffffff) and 0.4 opacity
             // jQuery(".navbar").css("background-color", "#ffffff"); // if yes, then change the color of class "navbar" to white (#ffffff)
                jQuery(".navbar").css("backdrop-filter", "blur(5px)"); // if yes, then change the blur to 5px
            } else {
                jQuery(".navbar").css("background-color", "transparent"); // if not, change it back to transparent
                jQuery(".navbar").css("backdrop-filter", "blur(0px)"); // if yes, then change the blur to 0px
    
            }
          });
        });
    </script>
    
    General Discussion

  • Transparent Navbar (header)
    L LouisS
    May 17, 2023, 1:36 PM

    Hi,
    Thanks for the script. Works great! Anybody knows how I can add a blur instead of just having the menu bar just white? I found this backdrop filter, but don't really know how to implement it. Help is much appreciated!

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    

    Best,Louis

    General Discussion

  • back button - go back to scroll position or disable lazy loading on specific page
    L LouisS
    Jun 1, 2021, 2:52 PM

    I have searched for hours and of course just after creating the post I have finally found a code which seems to work well so far :)
    source: https://stackoverflow.com/questions/9377951/how-to-remember-scroll-position-and-scroll-back (last answer)

    window.onbeforeunload = function () {
            var scrollPos;
            if (typeof window.pageYOffset != 'undefined') {
                scrollPos = window.pageYOffset;
            }
            else if (typeof document.compatMode != 'undefined' && document.compatMode != 'BackCompat') {
                scrollPos = document.documentElement.scrollTop;
            }
            else if (typeof document.body != 'undefined') {
                scrollPos = document.body.scrollTop;
            }
            document.cookie = "scrollTop=" + scrollPos + "URL=" + window.location.href;
        }
    
    window.onload = function () {
        if (document.cookie.includes(window.location.href)) {
            if (document.cookie.match(/scrollTop=([^;]+)(;|$)/) != null) {
                var arr = document.cookie.match(/scrollTop=([^;]+)(;|$)/);
                document.documentElement.scrollTop = parseInt(arr[1]);
                document.body.scrollTop = parseInt(arr[1]);
            }
        }
    }
    
    General Discussion

  • back button - go back to scroll position or disable lazy loading on specific page
    L LouisS
    Jun 1, 2021, 1:48 PM

    Re: How to return to the exact same scroll position when going back to previous page

    Hej,
    I have a page with a lot of project thumbnails and I would like to return to the same scroll position after returning from a project. I read through the other threads and tried out some code people posted on stackflow but nothing seems to work properly. Is there anybody who has had the same problem and has found some code?

    Otherwise, is there a way to disable lazy loading only on the specific page as it would probably work on a static page but I dont want to have all pages static.

    Thanks, Louis

    General Discussion

  • Full screen slider - topframe does not work
    L LouisS
    May 2, 2021, 4:24 PM

    Hi!
    I want to have a normal full screen slider with "Give elements a max-width and max-height and center them" applied. The problem is that it fills the whole page which is in my case behind the menu bar. The Top frame function does not work. I can use 70% but it separates the navigation points from the images and I don't use all the space. Is there some possibility to give it a top frame of 10% like I do for all other pages?
    90%
    fullscreen slider 90% no offset.png
    70%
    fullscreen slider 70%.png

    Page: lsimwunderland.com
    Cheers, Louis

    Bug Reports

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
C
craigfeldspar
16 minutes ago
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
laytheme.com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Search