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. General Discussion
  3. overflow scroll for one row in fullscreen slider

overflow scroll for one row in fullscreen slider

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 348 Views 2 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.
  • D
    D
    dcc
    wrote on last edited by
    #1

    Hello!

    I am working on this page which consists of a vertical fullscreen slider. All slides will be 100vh (pictures) except one of them containing a list of projects, which i would like to be higher than 100vh. In the link I'm sending, it is the 3rd row (the one with text).

    I understand fullscreen slider doesn't allow some rows to be higher than others. But I was wondering if this could be a solution:

    Could I have a long text overflowing a 100vh row (or a 100vh stack), and give this container the css rule "overflow: scroll !important;" so that when the row is on display the mouse scrolling affects the container and not the fullscreen slider, scrolling through the text until the text is finished, and then the next slider comes up?

    Does this make sense, or would there be any other way to achieve this?

    Thank you!

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

      http://laythemeforum.com/topic/9893/fullscreen-slider-slide-only-to-the-right-click-on-image-doesn-t-work/11

      use this code!

      custom css:

      .fp-tableCell .row-inner{
          height: 100svh;
          max-height: 100svh;
          overflow-y: scroll;
          -webkit-overflow-scrolling: touch;
      }
      

      custom <head> content:

      <script>
      jQuery(window).on('fpAfterSlideLoad', function(){
          // everytime we go to the next slide, scroll to top again
          jQuery('.fp-tableCell .row-inner').scrollTop(0);
      });
      </script>
      
      1 Reply Last reply
      0
      • arminunruhA
        arminunruhA
        arminunruh
        Global Moderator
        wrote on last edited by
        #3

        o i think it only works if you use the horizontal slider

        you use the vertical one, with this it wont work :/

        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