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

J

jorgenbry

@jorgenbry
Unfollow Follow
About
Posts
7
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Scripts with scroll functions have stopped working on several sites
    J jorgenbry
    Bug Reports

    Hi. On two of my Lay theme sites, javascript scroll functions that worked when making the sites suddenly have suddenly stopped working. All of these three code snippets have stopped working. Do you have any idea why, and how to make them work again? All code is added with the Custom CSS and HTML settings.

    1 – On jimmylinus.com, the following code made the the About-link in second-menu offset above the footer when scrolling down.

    <script>
    $(window).scroll(() => {
        const footerToTop = $('#footer-region').position().top;
        const scrollTop = $(document).scrollTop() + $(window).height();
        const difference = scrollTop - footerToTop;
        const bottomValue = scrollTop > footerToTop ? difference : 0;
        $('nav.second_menu').css('bottom', bottomValue+25);
    });
    </script>
    

    2 – On the same site, the next and previous project arrows (as text) gradually increased in opacity when scrolling down. Now they are only visible on hover. This is the code:

    <script>
             $(document).ready(function(){ 
                $(window).scroll(function(){ 
                    $('.project-arrow').css("opacity", 0+ $(window).scrollTop() / $(document).height() ) 
                }) 
            }) 
    </script>
    

    3 – And on another site, colin.no, thumbnails for previous and next projects appeared after scrolling 90% of the height. This is the code:

    <script>
    
    $(document).scroll(function() {
      var scrollPercent = 100 * $(window).scrollTop() / ($(document).height() - $(window).height());
      if (scrollPercent > 90) {
        $('.project-arrow').fadeIn();
      } else {
        $('.project-arrow').fadeOut();
      }
    });
    
    </script>
    

    Please let me know how to fix these!


  • Gridder layout is wiped from all projects
    J jorgenbry
    Bug Reports

    Hi @arminunruh & @mariusjopen.
    I sent a support mail four days ago when the layouts for my projects were deleted from my finished site and the "Your Desktop Layout's JSON was invalidated" appeared.
    Is anyone reading the info@laytheme.com inbox?
    I'm really desperate now to know if I should start building all the layout from scratch or if you can help me.
    Best, Jørgen


  • Functional tags in Lay Theme
    J jorgenbry
    General Discussion

    It's also making the Project Arrows link incorrectly. In most cases it links within the actual category that was set first and that is in the permalink. In a few cases it links to the next in the same "tag".


  • Functional tags in Lay Theme
    J jorgenbry
    General Discussion

    @mariusjopen I now found out this is more of an issue than I thought, because I have used some category specific css to style a certain category different. But when I add the "tags" that are in fact categories, the selector doesn't work anymore.
    Is there any ways to make this selector target something that contains 5, so that it would be active even though data-catid is something like {5, 10, 11} ?
    body.type-project[data-catid="[5]"]


  • Replace current project in Thumbnail Grid
    J jorgenbry
    General Discussion

    Hi! In one of my Lay websites I have a "Read More" field in the bottom, that is a Thumbnail Grid with 3 entries. It's placed with in a category specific footer.
    Is it at all possible with a script of some kind to replace the current project in a Thumbnail Grid that appears on that project page? So that in this case, the "Denim" project wouldn't be in its own "Read More" box: https://dev.jimmylinus.com/editorial/denim
    It would also be good to be able to enter a number of entries that is displayed in a Thumb Grid, rather than having to use css to hide the excess ones if I want only 3.

    Best, Jørgen


  • Functional tags in Lay Theme
    J jorgenbry
    General Discussion

    Hi! Thanks for making Lay Theme, I use it for both my own portfolio and one I'm making now for a client.

    The theme has Tags, but they don't really work. You can't make a thumbnail grid as with Categories.
    For a photographer I'm making a site for, I really need both categories and tags. Categories is used for genre, and tags for topics. I've solved this by adding Tags as categories, but the mix is a little bit dirty, because of permalinks and ease-of-use for the client. See the screenshot.

    Is it possible to apply the same functionality to tags as categories?

    Best, Jørgen

    alt text


  • Chose the wrong addon – possible to switch?
    J jorgenbry
    Installation Problems

    Hey. I had my mind set on the carousel addon, but when checking out I chose fullscreen slider and didn't notice. I know it makes me an idiot :disappointed: But is it possible to switch to a license for the carousel? I really need that, but I don't need the fullscreen slider.

    Thanks for an amazing theme!
    Jørgen

  • Login

  • Don't have an account? Register

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