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

N

nuotio

@nuotio
About
Posts
20
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Another vote for some kind of news/blog functionality
    N nuotio

    Dear Armin & Marius (& possibly others!) First of all, I love Laytheme and have used it successfully for many projects now. I like the simplicity, cleanliness and the fact that I can quickly and easily set up very different kind of structures and layouts, but then I can also go deep with CSS+JS customization and pretend to myself that I'd be a real coder...

    While the Laytheme keeps on getting better and better by every update I wish I could just use this theme and forget any others. But the lack of blog/news integration forces me sometimes to look elsewhere. I know this theme is designed for portfolio use and there're no false promises of anything else. Fair enough. Still, I wish you guys would someday turn this into a real jack-of-all-trades theme and surprise with a way to set up some kind of blog. Then I'd never need to go through these endless lists of shitty Wordpress themes anymore...

    One can always wish, right?

    Feedback posts dreaming news blog

  • Fullscreen slider pagination?
    N nuotio

    Okay… If someone is someday trying something similar, I kind of got a vague idea how to pull this off. So, in short, I try to create pagination 1/3, 2/3, 3/3 etc… to a site using full-screen slider addon.

    I'm a complete newbie with jQuery/JS, so this could be tidied up for sure. But the only major thing I'm still struggling with is to count the number of elements to get the total amount of slides. Checking the number of slides with "length" works nicely on Chrome console, but when I add this to LayThemes custom head content it always returns "0".

    <script>
       var totalCount = jQuery(".fp-slide").length;
                    
        window.laytheme.on('newpageshown', function(){
           
        console.log(totalCount);
            
            jQuery(".row-0 > .row-inner > .column-wrap > .col").append("<div class='page_number'>1 / "+totalCount+"</div>");
            jQuery(".row-1 > .row-inner > .column-wrap > .col").append("<div class='page_number'>2 / "+totalCount+"</div>");
            jQuery(".row-2 > .row-inner > .column-wrap > .col").append("<div class='page_number'>3 / "+totalCount+"</div>");
        });
    </script>
    

    If someone notices some obvious thing that I'm missing to get the length work, I'd of course appreciate some quick tips! :)

    Addons fullscreenslide

  • Cursor highlighting text on Carousel?
    N nuotio

    Oh thanks for considering this as an option! Looking forward to this in the future!

    Addons
  • Login

  • Don't have an account? Register

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