Skip to content

General Discussion

A place to talk about anything Lay Theme related
4.8k Topics 20.5k Posts
  • multiple modals with project-specific texts

    3
    0 Votes
    3 Posts
    113 Views
    E
    @arminunruh thank you for your quick response! these are all great tips which i have not thought about yet. i will go for the "get by id" function. great support as always. merci :)
  • HTML5 videos from mp4

    html5 video
    4
    0 Votes
    4 Posts
    249 Views
    arminunruhA
    yes please send your login details as I said, also send your ftp login please
  • Change background colour upon refresh

    6
    0 Votes
    6 Posts
    675 Views
    arminunruhA
    hey if anyone wants to do this: use this code <script> var colors = ["#fff", '#000', '#f0f', '#0ff', '#00f', '#ff0', '#0f0'] window.laytheme.on("newpageshown", function(){ var ix = getRandomInt(0, colors.length); var color = colors[ix]; jQuery('#grid, #custom-phone-grid, .cover-region-desktop, .cover-region-phone, #footer, #footer-custom-phone-grid').css('background-color', color); }); // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random // Returns a random integer between min (included) and max (excluded) function getRandomInt(min, max) { min = Math.ceil(min); max = Math.floor(max); return Math.floor(Math.random() * (max - min)) + min; } </script>
  • Avif/Webp support

    image webp avif
    3
    0 Votes
    3 Posts
    148 Views
    arminunruhA
    ah nice :)
  • Nice MP3 player working with LAY theme

    2
    0 Votes
    2 Posts
    63 Views
    arminunruhA
    i dont know :/
  • Menu and submenu to fixed it

    2
    0 Votes
    2 Posts
    64 Views
    arminunruhA
    hey! i see you have a submenu inside a submenu i haven't tested that yet i can click on the submenus try these options: customize -> menu styles -> submenu -> Show submenu on: "Click" or "always show" make sure u have updated lay theme, these are new settings does that help? also you can use a different textformat for the menu and for the submenu there in the customizer to have different looking texts for both
  • gridder

    4
    1
    0 Votes
    4 Posts
    94 Views
    V
    @arminunruh superbe! thank you
  • Menu Display

    3
    1
    0 Votes
    3 Posts
    74 Views
    arminunruhA
    but also i will include this option for the next update and you should use that so the spacing works correctly: [image: 1664285663422-screenshot-2022-09-27-at-15.33.45.png]
  • Hover thumbnail mobile with touch only

    9
    0 Votes
    9 Posts
    266 Views
    arminunruhA
    still on my list :I
  • This topic is deleted!

    1
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • THIS IS HOW YOU MAKE AN ACCORDION

    2
    0 Votes
    2 Posts
    157 Views
    arminunruhA
    :DDD i will also create an accordion element one day
  • Best way to create Dropdown/Accordion?

    6
    2
    0 Votes
    6 Posts
    348 Views
    arminunruhA
    hey aaron super busy, if you like email me at info@laytheme.com and i can do this for some €€, maybe theres more custom coding u want for that website and yea
  • fullscreen slider problem with widht

    16
    2
    0 Votes
    16 Posts
    291 Views
    arminunruhA
    hey still need to look at this…
  • Max content size / breakpoints

    3
    0 Votes
    3 Posts
    89 Views
    arminunruhA
    very good!
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • Popup Maker

    popup
    5
    0 Votes
    5 Posts
    773 Views
    arminunruhA
    nice!! yea i still need to do this one thing so more plugins will work.. its on my todo list
  • sorting order by tags in project index

    11
    0 Votes
    11 Posts
    340 Views
    arminunruhA
    ah lol i already created an option for this look you need to have that setting like this and then it should work: [image: 1663401697213-screenshot-2022-09-17-at-10.01.05.png] this will sort the project index by tags alphanumerically from the get go but sorting the tags in the filter tab will only have an effect of the order of tags in the tags part of the rows of the project if there are multiple tags listed for one project
  • Links not working on hompage

    4
    0 Votes
    4 Posts
    38 Views
    arminunruhA
    no i said it doesnt work because of your custom css. that css makes it not work and you should remove it or change it
  • accordeon

    2
    0 Votes
    2 Posts
    94 Views
    arminunruhA
    you need to use the newpageshown event to execute your javascript everytime a page is loaded i think adding this to your js should work: window.laytheme.on("newpageshown", function(){ // reset variables toggleStates = []; buttons = document.getElementsByClassName("panelbutton"); panels = document.getElementsByClassName("panel"); ApplyButtonState(); });
  • HTML 5 – Autoplay not working on mobile

    3
    1
    0 Votes
    3 Posts
    99 Views
    arminunruhA
    [image: 1663226586593-img_1500.jpg] this video autoplays for me on my iphone safari u sure you dont have "low power mode" enabled on your phone? that causes videos to not autoplay

I also code custom websites or custom Lay features.
πŸ’Ώ Email me here: πŸ’Ώ
info@laytheme.com

Our Web Development company: 100k.studio

Want to tip me? https://www.paypal.com/paypalme/arminunruh

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