Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.3k Topics 17.7k Posts
  • invert carousel slide direction

    6
    1 Votes
    6 Posts
    114 Views
    arminunruhA

    @kalamakumaran said in invert carousel slide direction:

    <script>
    window.laytheme.on("newpageshown", function(){
    // Get the swiper-container element
    var swiperContainer = document.querySelector('.swiper-container');

    // Check if the element exists and has the "reverse" class
    if (swiperContainer && swiperContainer.classList.contains('reverse')) {
    // Add the dir="rtl" attribute
    swiperContainer.setAttribute('dir', 'rtl');
    }
    });
    </script>

    <script> window.laytheme.on("newpageshown", function(){ // Get the swiper-container element var $reverse = jQuery('.reverse'); if ($reverse.length > 0) { // Add the dir="rtl" attribute $reverse.find('.swiper-container').attr('dir', 'rtl'); } }); </script>

    maybe like this?

    this needs to go into custom <head> content or custom html content. not custom css :D

    But apparently it seems to be not possible to add classes to carousels. Is it a bug @arminunruh ?

    i think this line of code doesnt work:
    swiperContainer.classList.contains('reverse')

    because .swiper-container is a child of .reverse

    because the reverse class is added to .col

  • 0 Votes
    8 Posts
    127 Views
    arminunruhA

    ok nice!!

  • vertical columns missing?

    8
    0 Votes
    8 Posts
    46 Views
    arminunruhA

    yea that browser is probably too old

  • Question about an upgrade to pro license

    2
    0 Votes
    2 Posts
    19 Views
    arminunruhA

    @igawu said in Question about an upgrade to pro license:

    Before proceeding with the upgrade, I want to confirm whether the pro license allows me to choose from all four addons for any of my websites covered by the pro license key. Can you help me with that?

    yes you will get all addons and you can use them on all of your websites then

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • disable sticky for mobile

    3
    0 Votes
    3 Posts
    34 Views
    K

    @arminunruh THANK YOU XX

  • 0 Votes
    3 Posts
    37 Views
    S

    @arminunruh Thanks, I've sent you an email.

  • Web description/preview in google

    2
    0 Votes
    2 Posts
    35 Views
    arminunruhA

    @cschm-tz said in Web description/preview in google:

    On the other hand, also in the screenshot below, you can see another site appearing below with some other info: 'Editorial -Christian....'. Do you know how I can get rid of it so that there's only one link accessible and have a cleaner google presence?

    not sure if you can remove one specific site, you can google this!

    the description you enter in lay options →
    Screenshot 2023-07-17 at 21.13.45.png

    it should show up there, unless its too short. it could take a few days to show up.

    you could also use the plugin "yoast seo" and see if it works with that plugin

    afaik the code for the website description of lay theme works correctly. i just looked at it and it works correctly

    if you have the yoast seo plugin already installed, it will take the description of that plugin, it will overwrite lay theme's website description

  • Project Index - row space top bottom value

    4
    0 Votes
    4 Posts
    37 Views
    arminunruhA

    <3 happy to hear this :D

  • Photography compression

    3
    0 Votes
    3 Posts
    34 Views
    arminunruhA

    yea u can use this plugin:
    https://wordpress.org/plugins/webp-converter-for-media/

    it converts your images to webp

    heres more advice:
    https://laytheme.com/documentation/speeding-up-your-website.html

  • One button with multiple anchors in it

    4
    0 Votes
    4 Posts
    71 Views
    arminunruhA

    we made it work via email

    the html he used wasn't correct and we had to wrap the code in a newpageshown event

    https://laytheme.com/documentation/custom-javascript.html#newpage-events

  • random order element grid

    5
    0 Votes
    5 Posts
    33 Views
    K

    @arminunruh no way :) that is amazing! thank you so much!!!!

  • different content within one row

    3
    0 Votes
    3 Posts
    37 Views
    A

    @arminunruh "group" feature sounds amazing!

    This would allow aligning objects within a group, not just within a row. But also having an extra background, textfield, stroke etc. just for a group could be a great design feature.

    Actually "stack" is kind of having some of these possibilities, but "group" would surely be a further development. :-D

    All best
    Aleks

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • sticky element on scroll

    4
    0 Votes
    4 Posts
    45 Views
    B

    @arminunruh solved! missing custom row height

  • menu and internal link to a page

    5
    0 Votes
    5 Posts
    56 Views
    arminunruhA

    this is integrated into lay theme:

    https://laytheme.com/documentation/jump-to-anchor.html

  • Responsive textfield in carousel

    4
    0 Votes
    4 Posts
    29 Views
    arminunruhA

    ah very good!

    yea the text element in a carousel is probably only good for shorter texts :/

  • Automatic update for theme and plugins

    2
    0 Votes
    2 Posts
    17 Views
    arminunruhA

    there is a settings for this for the theme:

    Screenshot 2023-07-11 at 12.19.12.png

    "Enable auto-updates"

    for plugins i think there's no such setting

    theres no way to get emails about this i think

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • imagehover image size Vertical vs horizontal

    3
    0 Votes
    3 Posts
    26 Views
    P

    @arminunruh thanks a lot!

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