Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.2k Topics 17.6k Posts
  • 0 Votes
    3 Posts
    37 Views
    G

    hi.

    thanks for your reply.
    i don‘t want to target the row — i want to target the arrows in order to apply the »filter: invert(100%)« code.
    … like i managed for the header elements.

    any hints?
    would be great.

    all best.
    gregor

  • Carousel / position of images

    3
    0 Votes
    3 Posts
    10 Views
    B

    :)

    THANK YOU!
    I've looked through its but did not find it at first...

  • On Scroll Site Title Image Change

    6
    0 Votes
    6 Posts
    53 Views
    arminunruhA

    maybe try:

    $blackRows.each(function(){ var rect = this.getBoundingClientRect(); var style = this.currentStyle || window.getComputedStyle(this); var marginBottom = parseInt(style.marginBottom, 0) if(rect.top - offset < 0 && rect.bottom + marginBottom - offset > 0){ $nav.addClass("white"); jQuery(".sitetitle img").attr("src", "https://alicjaboss.com/wp-content/uploads/2022/06/logo_hell.png"); return false; }else{ $nav.removeClass("white"); jQuery(".sitetitle img").attr("src", "https://alicjaboss.com/wp-content/uploads/2022/06/logo_dark.png"); } });
  • POSITION FIXED FOR TEXTLEMENTS CSS

    7
    0 Votes
    7 Posts
    37 Views
    G

    hi richard.

    all good — thanks.
    i just placed and styled the elements in Custom HTML at top.
    … that worked.

    best!
    gregor

  • Layers / z-index

    3
    1 Votes
    3 Posts
    45 Views
    B

    When positioning e.g. two images, or text and image, and change the x- and-y-coordinates so two elements overlap, I want to be in charge of what layer is above or beyond the other – did I make it clear? :)

  • lay theme update issues

    16
    3 Votes
    16 Posts
    141 Views
    K

    @arminunruh thanks dude!!

  • Site Title Image, Image Change Mousover?

    3
    0 Votes
    3 Posts
    43 Views
    L

    @Richard
    thank you! i tried to change a png-title on mouseover. now i figured out a CSS solution working fine:

    .sitetitle:hover {
    content:
    url("https://www.mypage.de/wp-content/uploads/2022/logo_v2.png");width:16vw;
    }

  • Anchorscroll Speed

    2
    0 Votes
    2 Posts
    15 Views
    arminunruhA

    no sorry theres no way to do that! :/

  • Plugin AJAX Clash

    6
    0 Votes
    6 Posts
    42 Views
    arminunruhA

    hey paul, there needs to be a hard refresh for the plugin to work on that page.
    sorry about that!
    and the custom coding for a fade effect for when you have a hard refresh, sorry i dont have time for that :OO

  • Multilanguage

    3
    0 Votes
    3 Posts
    39 Views
    S

    @arminunruh said in Multilanguage:

    qtranslate xt

    thank you!

  • 0 Votes
    3 Posts
    18 Views
    M

    ok! that's a clear answer. Thank you for the quick response! :) all the best

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • Random project thumbnail order? Possible?

    3
    0 Votes
    3 Posts
    57 Views
    C

    Hi Marius,

    Is it possible to do it now?

    Best,
    Camille

  • Variable Font can be used?

    11
    0 Votes
    11 Posts
    239 Views
    M

    @Richard Thanks Richard. Took a bit of playing around but starting to get there. Your first suggestion referencing the Text formats was the key.
    Still got some finessing to do but really pleased with how it's taking shape. Much appreciated. M
    https://www.markevans.design/typography/

  • Video Thumbnails disappear on mobile

    2
    0 Votes
    2 Posts
    37 Views
    RichardR
    Dear @Warul-Kawa

    Is this still an issue? When testing on Chrome, Safari & True Mobile:
    Screen Shot 2022-06-01 at 1.10.47 PM.png Screen Shot 2022-06-01 at 1.12.25 PM.png Screen Shot 2022-06-01 at 1.12.47 PM.png

    Best Richard
  • Carousel random start image

    6
    0 Votes
    6 Posts
    95 Views
    RichardR
    Dear @brogr

    Thank you for the feedback it has been noted ✅

    Feature suggestion: It would be nice to have another event exposed that runs once the carousel (or all addons) are initialized. That way we wouldn't have to rely on setTimeout to access swiper. In the case of Swiper, it could use https://swiperjs.com/swiper-api#event-init.

    Have a great day 🌝 Richard
  • 2 colour menu bar

    2
    0 Votes
    2 Posts
    12 Views
    RichardR
    Dear @NAS

    User @felix_rabe has replied via your other Thread:

    http://laythemeforum.com:4567/topic/7897/create-2-colour-menu-bar-for-2-menus/2

    Best Richard
  • Anchor Links

    2
    0 Votes
    2 Posts
    28 Views
    RichardR
    Dear @Alina

    Best wishes, i am testing the Arbeiten (work) anchor as well as the "back to start" button on both Chrome and Safari. All is working for me. Are you testing on a different Browser?

    Best Richard
  • Wordpress 6.0

    4
    2 Votes
    4 Posts
    46 Views
    RichardR

    Thanks @bbbfg have a great day 👍

  • New Customer Cursor (Hover state)

    4
    0 Votes
    4 Posts
    98 Views
    RichardR
    Dear @KingJut

    Lay Theme uses the normal cursor like you have applied with the code above; cursor: url("source");

    The Rolls Royce website uses a trick that has become widespread now. It's actually a div or html element that has javascript applied to it to mimic the cursor ( x and y axis position on screen ).

    Within the code the native cursor has been removed:
    Screen Shot 2022-05-27 at 9.51.15 AM.png

    Normally when taking a screenshot the cursor would not be captured, this also helps us know its an HTML element:
    Screen Shot 2022-05-27 at 9.51.08 AM.png

    The Rolls Royce Cursor CSS:

    .rrmc-cursor { display: block; top: 0px; transform: translate3d(688px, 323px, 0px); position: absolute; width: 46px; height: 46px; top: 0; left: 0; z-index: 6000; pointer-events: none; display: none; mix-blend-mode: difference;

    It's using transform: translate3d('value'); but you could also use the CSS 'scale' or 'zoom' properties.

    These links may help you add scaling or zoom to the default cursor but the problem lies with transitioning between the two. An interesting mention in one of these links is to use a gif to mimic the effect:

    https://stackoverflow.com/questions/38767322/css-cursor-transition

    https://css-tricks.com/almanac/properties/c/cursor/

    https://stackoverflow.com/questions/33715491/how-to-reduce-the-size-of-image-with-cursor-url

    https://www.digitalocean.com/community/tutorials/css-cursor-property

    And this is a custom HTML cursor

    https://www.freecodecamp.org/news/how-to-make-a-custom-mouse-cursor-with-css-and-javascript/

    Best Richard
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
H
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com