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. General Discussion
  3. Use Browser Hight / Center Column / Carousel speed

Use Browser Hight / Center Column / Carousel speed

Scheduled Pinned Locked Moved General Discussion
4 Posts 3 Posters 1.6k 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.
  • C Offline
    C Offline
    cx
    wrote on last edited by cx
    #1

    Hi

    I hope there might be some help for me. I can't figure out a way myself.

    1. Maybe I got the wrong idea about the „Use Browser hight for row hight“ but it seems not to work for me. I want the Images in a Carousel to fit (80%) the size of the browserhight instead of the with. (As this is an issue supposed to be fixed in last update - could it be a problem with Wordpress 4.7.2?)

    2. I use a single project Page with a Carousel to slide horizontal. Center Alignedment will only center the elements. How can I center the single column?

    3. Is there an easy way to adjust the horizontal Slide in the Carousel in speed on mouse clicks? Similar to the Fullscreenslider Speedoption?

    Thanks a lot already

    Fabian

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rsepierre
      wrote on last edited by
      #2

      I'm guessing you could set your own CSS to have 80% of browser height as your carousel height :

      select your row "add custom class or id" : custom-class

      Then add this code to your custom css :

      custom-class . lay-carousel-wrap {
          height: 80vh;
      }
      

      To set the transition speed of your carousel you have to change the "friction" and "attraction" parameters. Add this code to "custom HTML and CSS at bottom" general laytheme option

      window.Frontend.GlobalEvents.on("projectpageshown", function(a) {
                  setTimeout(function() {
                      jQuery('.lay-carousel').flickity({selectedAttraction: .005, friction: .2 }) ;}, 100)  });
      

      Did not tested the first CSS thing, not sure this all works. The last bit of code should.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cx
        wrote on last edited by
        #3

        Saidly, both things did not work.
        For the 80% height, in the Editorfield it hints 'Expected IDENT at Line1, col15.

        The Friction adjustment hints 'Non space characters Found'. On my site the code is just shown as unstyled text at the buttom.

        Just a character in the wrong place or any other idea how to solve this?

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

          @rsepierre Thanks a lot for your advice!! :)

          Maybe I got the wrong idea about the „Use Browser hight for row hight“ but it seems not to work for me. I want the Images in a Carousel to fit (80%) the size of the browserhight instead of the with. (As this is an issue supposed to be fixed in last update - could it be a problem with Wordpress 4.7.2?)

          There is an option for when the fullscreen-slider addon is active. "lay options" -> "fullscreen slider addon" -> "Give elements a max-width and max-height and center them".

          This only works for pages where that addon is active. Normally, all the element's sizes are width-based.

          I use a single project Page with a Carousel to slide horizontal. Center Alignedment will only center the elements. How can I center the single column?

          I'm not sure what you mean. Do you mean you want to have the carousel element centered vertically and horizontally?

          Look, in this video, I place an image in a centered way: http://laytheme.com/documentation.html#use-browser-height-for-row-height

          You can always select an element and click the alignment buttons in the gridder header: 0_1487075187597_Screen Shot 2017-02-14 at 13.26.16.png

          Is there an easy way to adjust the horizontal Slide in the Carousel in speed on mouse clicks? Similar to the Fullscreenslider Speedoption?

          Hmm no at the moment there isn't.

          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
          O
          oli
          P
          piranha
          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