Skip to content

General Discussion

5.0k Topics 21.7k Posts

A place to talk about anything Lay Theme related

  • random background olor on split screen

    3
    0 Votes
    3 Posts
    469 Views
    arminunruhA
    this code that is at the very end of the topic didn't work? do you have a link to your website? <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>
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    11 Views
    No one has replied
  • menupoint active custom css

    6
    0 Votes
    6 Posts
    1k Views
    A
    @antonia_viola hmm, if you've already added css for the nav for hover effect, if you just duplicate that code but replace, ':hover' with, ':active' that should work. I tried it on chrome inspector on your site and it worked.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Whole website apart from splash page is blank

    7
    1 Votes
    7 Posts
    833 Views
    C
    @arminunruh Thanks Armin, I've sent you an email!
  • Blur part of the page when scrolling

    3
    0 Votes
    3 Posts
    389 Views
    A
    @arminunruh Okay I see. Anyways thank you! <3
  • 0 Votes
    7 Posts
    766 Views
    P
    Thanks Armin, it works now!
  • Collapse/expand rows doesn’t work with stacked elements

    3
    0 Votes
    3 Posts
    343 Views
    P
    @arminunruh Thanks, I just tried it again and it works now, I guess some of my weird custom CSS might have caused some problems … :)
  • Menu

    7
    0 Votes
    7 Posts
    1k Views
    T
    @arminunruh thank you, Armin!
  • Imgix integration problems

    3
    0 Votes
    3 Posts
    484 Views
    M
    @arminunruh Thanks Armin I will take a look and test that too. Imgix is becoming really widely used, and offers a whole suite of image processing features at scale, so I'm keen to get that working - particularly to meet the needs of clients, rather than relying a plugin approach. I've been in touch with Imgix tech support, and one comment they have made is that src value inside the image tags are base64 encoded, so Imgix and other similar services may not be able to intercept/recognise these particular images for processing. Not sure if that checks out or not, but I'd love to see if I can get at least get to the bottom of why it's not working.
  • No Right Click Images

    3
    0 Votes
    3 Posts
    379 Views
    A
    @arminunruh @fotox. i posted an idea for that in the forum. http://laythemeforum.com/topic/8949/disable-rightclick-and-context-menu-for-copyright-reasons?_=1687210981884
  • will deactivating Phone layout in settings erase existing phone layouts?

    3
    0 Votes
    3 Posts
    348 Views
    S
    Thanks, Armin!
  • Disable scroll when mobile menu open

    4
    0 Votes
    4 Posts
    901 Views
    arminunruhA
    ah i understand! i wrote it down and will consider it :)
  • how can i align a caption vertically

    6
    0 Votes
    6 Posts
    1k Views
    arminunruhA
    i haven't worked on this yet!
  • reducing height of browser breaks carousel

    3
    0 Votes
    3 Posts
    351 Views
    J
    @arminunruh Legend
  • Cover disables the background elements

    5
    0 Votes
    5 Posts
    895 Views
    arminunruhA
    try to use the inspector of your browser and use custom css i dont have time to come up with custom css for you :/
  • gridder is gone after update

    3
    0 Votes
    3 Posts
    182 Views
    arminunruhA
    oh did u update all addons/plugins and lay theme? can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?
  • sumbmenu on mobile device

    6
    0 Votes
    6 Posts
    559 Views
    arminunruhA
    i will think about this and probably add a setting for this!
  • Slow loading overall

    2
    0 Votes
    2 Posts
    249 Views
    arminunruhA
    disable the plugins you don't need, also the lay theme plugins you don't use turn on lazyloading for images in lay options turn off this setting in lay options: [image: Screenshot 2023-06-14 at 16.31.39.png] also read this: https://laytheme.com/documentation/speeding-up-your-website.html
  • Corruption of website

    2
    0 Votes
    2 Posts
    281 Views
    arminunruhA
    what glitches? i see a normal website
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com