Images not showing in the website after update
-
Same here: https://jnswndlf.com
-
oh yea wait a few minutes please and then update again
-
ok you can update now and then it should work
-
your code throws a few errors
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"); } }); });
try this instead:
var offset = 50; var $blackRows; var $nav; window.laytheme.on("newpageshown", function(){ $blackRows = jQuery(".blackrow"); $nav = jQuery("nav"); $nav.removeClass("white"); }); jQuery(document).on("scroll", function(){ if( typeof $blackRows != 'undefined'){ $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"); } }); } });
-
@arminunruh Thank you Armin! it works now, and thank you for the code.
There are some things regarding the "customize" section of the admin that are not responding as they should, for example the project description's space top and the site title in the mobile version, I had this set up to hide but its always visible.
Thank you for your super fast reply.
Gonzalo -
The mobile site title and navigation are not showing correctly. Furthermore the mobile element grid just place images among each other although it should have columns.
Anyhow, thanks for your super fast reactions the last days.
-
hey @jenswindolf
oh yea so the site title position and site title itself on mobile should work.
go to customize -> mobile -> mobile site title and set your mobile site title and position there
however, yea the positioning of the mobile menu that is a desktop style mobile menu doesn't work properly again, if you update lay theme later today it should work again
-
@Gonzalo said in Images not showing in the website after update:
There are some things regarding the "customize" section of the admin that are not responding as they should, for example the project description's space top and the site title in the mobile version, I had this set up to hide but its always visible.
Oh yea please update later today and it should be fixed then
-
@arminunruh Great, thank you.
One thing I noticed is that when one scrolls down a page with the fullscreen slider on, clicks in a project thumb or link, then goes back to the page with the fullscreen slider, the previous version of the Laytheme used to "remember" your position in the page, and now it doesn't. To me this was important so I wanted to know if this is something that's going to be fixed. Thank you! -
it might have remembered the position if your fullscreen slider has scrollbar enabled in its options. otherwise i'm pretty sure it couldnt remember that position
-
@arminunruh this page is a good example: http://www.kominekominekominek.com/artists
if you scroll down and click on a thumb and then go back it goes back to the top of the page. -
ah ok
ok will write it down and see what i can do
-
interestingly the website you gave as an example uses the latest lay theme and latest fullscreen slider version
-
@arminunruh Yes, sorry I didn't explain myself, as you can see in the example, the latest version of the laytheme doesn't remember the scroll position. The previous version did.
Thank you for looking into this!
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- 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:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it