Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Installation Problems
  3. Images not showing in the website after update

Images not showing in the website after update

Scheduled Pinned Locked Moved Installation Problems
16 Posts 3 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • arminunruhA
    arminunruhA
    arminunruh
    Global Moderator
    wrote on last edited by
    #5

    @Gonzalo

    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");
                }
            });
    }
        });
    
    GonzaloG 1 Reply Last reply
    0
    • arminunruhA arminunruh

      @Gonzalo

      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");
                  }
              });
      }
          });
      
      GonzaloG
      GonzaloG
      Gonzalo
      wrote on last edited by
      #6

      @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

      1 Reply Last reply
      0
      • jenswindolfJ
        jenswindolfJ
        jenswindolf
        wrote on last edited by
        #7

        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.

        1 Reply Last reply
        0
        • arminunruhA
          arminunruhA
          arminunruh
          Global Moderator
          wrote on last edited by
          #8

          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

          1 Reply Last reply
          0
          • arminunruhA
            arminunruhA
            arminunruh
            Global Moderator
            wrote on last edited by
            #9

            @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

            GonzaloG 1 Reply Last reply
            0
            • arminunruhA arminunruh

              @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

              GonzaloG
              GonzaloG
              Gonzalo
              wrote on last edited by
              #10

              @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!

              1 Reply Last reply
              0
              • arminunruhA
                arminunruhA
                arminunruh
                Global Moderator
                wrote on last edited by
                #11

                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

                GonzaloG 1 Reply Last reply
                0
                • GonzaloG
                  GonzaloG
                  Gonzalo
                  wrote on last edited by
                  #12

                  I didn't change the options of the fullscreen slider after the update. I do have the scroll bar checked but it doesn't remember the position as in the previous version of Laytheme.

                  1 Reply Last reply
                  0
                  • arminunruhA arminunruh

                    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

                    GonzaloG
                    GonzaloG
                    Gonzalo
                    wrote on last edited by
                    #13

                    @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.

                    1 Reply Last reply
                    0
                    • arminunruhA
                      arminunruhA
                      arminunruh
                      Global Moderator
                      wrote on last edited by
                      #14

                      ah ok

                      ok will write it down and see what i can do

                      1 Reply Last reply
                      0
                      • arminunruhA
                        arminunruhA
                        arminunruh
                        Global Moderator
                        wrote on last edited by
                        #15

                        interestingly the website you gave as an example uses the latest lay theme and latest fullscreen slider version

                        GonzaloG 1 Reply Last reply
                        0
                        • arminunruhA arminunruh

                          interestingly the website you gave as an example uses the latest lay theme and latest fullscreen slider version

                          GonzaloG
                          GonzaloG
                          Gonzalo
                          wrote on last edited by
                          #16

                          @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!

                          1 Reply Last reply
                          0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          Online Users
                          I
                          itsbadjujuju
                          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                          laytheme.com
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Search