A place to talk about anything Lay Theme related
Text Color based on current row-background

Hi there,

I've tried this code to change text based on current row-background and it works for desktop perfect.

But not on mobile. Can I put the code elsewhere for mobile?

For testing: I've tried to set Phone Breakpoint to „0“ and it works but not with setting "600“. Is there any easy solution for this?

var offset = 50; var $blackRows; var $nav; Frontend.GlobalEvents.on("newpageshown", function(layoutObj, type, obj){ $blackRows = jQuery(".blackrow"); $nav = jQuery("nav"); $nav.removeClass("white"); }); jQuery(document).on("scroll", function(){ $blackRows.each(function(){ var rect = this.getBoundingClientRect(); if(rect.top - offset < 0 && rect.bottom - offset > 0){ $nav.addClass("white"); return false; }else{ $nav.removeClass("white"); } }); });

Source: http://laythemeforum.com:4567/topic/699/change-link-color-on-fixed-nav-based-on-current-row-background


read more
Got an idea for Lay Theme? I might include it in a new update or code an addon.
Carousel Options Mobil/Desktop

Is this going to be in an update anytime soon? Would be extremely beneficial to have those options. Either setting different transitions for desktop and mobile, or the option to have the slides only go forward on mobile with the No-Transition and Fade-Type.

Is this in any way technically possible to do this with added Custom jQuery Code?

At the moment I use the No-Transition Type with the forward and backward possibility but would like to have the slideshow only go forward on mobile/tablet.
Alternatively to set the transitions on mobile/tablet to swipe would be also ok, in case this is easier to code.


read more
Something is not working? Please provide a screenshot, your browser name and browser version and your operating system.
HTML5 Videos aren't playable on Firefox

Dear @tdecarcer
which version of OS and browser do you use?

We will have a look.

All the best!


read more
Did you follow the steps in "How to Install" and "Troubleshooting" but still have problems? And your webhost support could not help you either? Ask here.
Projects not showing


You can show them the URL

And @sk what is your website address?

Maybe you can send them the same URL with just your domain in place.

read more
Got a question about an Addon?
Lightbox Mobile doesn't work

Hi there,

is there a solution to activate lightbox on mobile devices?

It works only when I set „Phone Breakpoint“ from "600“ to "0" and disable phone version.

Thank you!

read more
Created a website with Lay Theme? You can share it here.
Invert blur+darken on mouseover on project thumbnail

Thank you very much Marius!! I think that will help.
Another quick question though, is there a way to give the text on a project thumbnail (the project title) a dropshadow? And how can I see the class of such elements so that in the future maybe I can figure this stuff out by myself with my mediocre css skills …

Thank you once again,

read more

Looks like your connection to Lay Theme Forum was lost, please wait while we try to reconnect.