Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.4k Topics 18.6k Posts
  • fixed image position while scrolling

    5
    0 Votes
    5 Posts
    162 Views
    arminunruhA

    very good!

    you can also do this for a row:

    .example-class {
    position: sticky;
    width: 100%;
    height: auto;
    top: 0;
    }

    its a little similar

  • 0 Votes
    3 Posts
    42 Views
    H

    thank you, Armin! This worked :)

  • 0 Votes
    2 Posts
    58 Views
    arminunruhA

    try to add the class:

    disable-css-transitions

    on the elements

    does it work?

    or try to give the row a class of "sticky"

    then use css:

    .sticky{ position: sticky; top: 0; }

    and then remove your other css to make these two elements in the row fixed

    this will just make the whole row sticky for the whole page, so its kind of as if it was fixed

  • rotate a second menu verticaly

    5
    0 Votes
    5 Posts
    82 Views
    arminunruhA

    thx <3<3<3<3

  • Overlay close custom cursor

    2
    0 Votes
    2 Posts
    33 Views
    arminunruhA

    i need a password to enter that site

  • 0 Votes
    19 Posts
    378 Views
    arminunruhA

    will try and look into it tomorrow

  • tables

    6
    0 Votes
    6 Posts
    115 Views
    arminunruhA

    the laytheme.com website is not made with lay theme
    its just html

    yea the table plugin in the texteditor is not rlly good.
    its just tinymce's standard table plugin

    yea i think its a good idea to find a wordpress table plugin!
    if the one recommended doesn't work, find another one.

    or create a table yourself using html and css, using +more → +html maybe

    i'll need to create a dedicated table element one day!

  • Burger menu icon below menu bar

    2
    0 Votes
    2 Posts
    49 Views
    arminunruhA

    Post a link to where the problem is please

  • Overlay fade

    2
    0 Votes
    2 Posts
    42 Views
    arminunruhA

    will be fixed with the next lay theme update

  • thumbnail Grid without categories

    6
    0 Votes
    6 Posts
    66 Views
    arminunruhA

    go into thumbnail grid and under Options "Show Projects of Category" choose the superiour category you just build

    yea correct!

  • Any options for using an external CSS-editor?

    8
    0 Votes
    8 Posts
    151 Views
    J

    Wow, that's great! Thank's for that.

  • Carrousel fixed at the bottom of the page

    6
    0 Votes
    6 Posts
    88 Views
    C

    Hi Armin,

    Thanks it works perfectly!! I had tried this previously but with % instead of px and it didn't work. Glad to know it works with px!

  • Hiding menu and title on one page only

    3
    0 Votes
    3 Posts
    96 Views
    M

    @arminunruh fantastic, thank you! 🙈

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Text block display problem

    4
    0 Votes
    4 Posts
    36 Views
    AntoineA

    Hello Armin, thank you for your help !
    I played a little with these settings and everything is back to normal today without me really understanding why. Maybe also a CSS/JS cache issue.

    Thank you !

  • Show third menu only on front page

    9
    0 Votes
    9 Posts
    92 Views
    arminunruhA

    interesting!

    maybe you can manage to code this!
    you just need to find out the body classes you need:
    https://laytheme.com/documentation/custom-css-styling.html#css-based-on-current-page

    Screenshot 2023-10-26 at 13.30.41.png

    look at this example

    this has the class slug-imagehover-test

    so i use the css body.slug-imagehover-test

    Screenshot 2023-10-26 at 13.31.52.png

    try to learn how to use the chrome inspector. i inspect the html and i see the <nav has the class primary

    so i do:

    body.slug-imagehover-test nav.primary{ display: none!important; }

    to hide that menu on that page

    this way you can hide or show menus depending on which page you are on

    good luck

  • Show menu on overlay page

    3
    0 Votes
    3 Posts
    63 Views
    A

    It worked, thank you so much!

  • 0 Votes
    7 Posts
    129 Views
    arminunruhA

    as far as i understood the issue:

    on desktop a menupoint has a submenu

    on mouseover, the submenu is shown, but the menupoint can be clicked too

    on touchdevices, when the menupoint is clicked, it shows the submenu

    on touchdevices the menupoint can't be clicked to navigate to its page. clicking it only expands the submenu

    this is by design. on nike.com on touchdevices, they solved it like this:
    for example:
    you click on shoes:

    Screenshot 2023-10-26 at 12.52.29.png

    then the submenu shows and inside it is "all shoes".

    Screenshot 2023-10-26 at 12.52.34.png

    so in the submenu there is another menupoint that would lead you to the page that the parent menupoint is linked to.

    so what i think you could do is:
    in appearance → menus, choose:
    mobile menu

    Screenshot 2023-10-26 at 12.54.41.png

    here, create a mobile menu.
    then add one mobile menu point twice. once as the parent menu item, and once again as the top submenu item:

    Screenshot 2023-10-26 at 12.56.12.png

    this way, the parent mobile menu point is used to extend the submenu when its clicked on. but you can still go to its page, by clicking the same menu point that is within the submenu

  • menu items to be distributed as in the gridder

    4
    0 Votes
    4 Posts
    70 Views
    arminunruhA

    you could also use lay options → custom css & custom html

    and then add your html and css code to "html at top"
    then that html is at the top of every page

  • 0 Votes
    2 Posts
    22 Views
    arminunruhA

    use the stack element: +more → +stack
    with it you can put elements above one another inside a single row

    preview pages cannot be accessed when you're not logged in as an admin, so i cant view your link

    I'm able to drag in several images in the same 'row' but not text boxes

    not sure what you mean here. texts and images can be next to one another in a row.

    what does this all have to do with overlays?
    Do you mean this?
    https://www.instagram.com/p/CvII57wrp7V/

    or do you just want to overlap elements?

    if you want to overlap elements:

    do this:
    if your row has a custom row height (right click row, set custom row height) or browser height (right click row, set custom browser height), then all elements within that row can be placed anywhere, overlapping each other.

    or do this:
    right click an element and click "position freely"

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