Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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 259 Views
  • 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 Offline
    arminunruhA Offline
    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 Offline
      GonzaloG Offline
      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 Offline
        jenswindolfJ Offline
        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 Offline
          arminunruhA Offline
          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 Offline
            arminunruhA Offline
            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 Offline
              GonzaloG Offline
              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 Offline
                arminunruhA Offline
                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 Offline
                  GonzaloG Offline
                  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 Offline
                    GonzaloG Offline
                    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 Offline
                      arminunruhA Offline
                      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 Offline
                        arminunruhA Offline
                        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 Offline
                          GonzaloG Offline
                          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
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


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

                          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
                          A
                          alasdair17
                          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