Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Centre height aligned Carousel

    Addons
    5
    12
    1212
    Loading More Posts
    • 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.
    • F
      fraserclark last edited by fraserclark

      Hey Armin

      I want to create a carousel, which is always centre height and width aligned and fixed to the middle. Examples below. Is this possible with the carousel extension?

      http://guillaumechuard.com/
      http://jonathanhares.ch/

      Also, is it also possible to slow the speed of the fade? A reference here:

      http://laneandassociates.co/the-gourmand-issue-06

      Apologies if this has already been answered numerous times, I just couldn't find a recent and exact thread.

      Thanks as always
      Fraser

      1 Reply Last reply Reply Quote 1
      • arminunruh
        arminunruh Global Moderator last edited by arminunruh

        Hey Fraser!

        I want to create a carousel, which is always centre height and width aligned and fixed to the middle. Examples below. Is this possible with the carousel extension?

        Please take a look at that video:
        http://laytheme.com/documentation.html#use-browser-height-for-row-height

        In that video you can see how to make a row browser filling. Please make a row browser filling. If it's ur first row for example then it makes sense to set the "frame top" value to 0. (the pink bar at the top, just like u see in the video)

        Then you can put your carousel in there and align it to the middle by selecting it and clicking the "align middle" button in the gridder.

        One thing about the references here:
        http://guillaumechuard.com/
        http://jonathanhares.ch/

        On these websites when you resize the height of your browser the carousel will adapt and become smaller. Let me know if that's very important for you to have that feature. With lay theme your carousel size will only adapt when resizing the width of the browser at the moment.

        Also, is it also possible to slow the speed of the fade?

        Yes, please use this css in "lay options" -> "custom css & html" -> "custom css for desktop version"

        .lay-carousel.fadeSlider.fading .lay-carousel-slide.transition{
        transition: opacity 800ms ease-out;
        }
        

        The normal value is 400ms for the animation duration.

        1 Reply Last reply Reply Quote 0
        • F
          fraserclark last edited by

          Hey Armin

          Thanks for such a speedy response! :+1: ) the fading works great.

          Ideally, I'd like the carousel to adapt and become smaller like those sites — is there a simple piece of html or css for this?

          Thanks for your help much appreciated!

          Fraser

          1 Reply Last reply Reply Quote 0
          • arminunruh
            arminunruh Global Moderator last edited by

            hey!

            Ideally, I'd like the carousel to adapt and become smaller like those sites — is there a simple piece of html or css for this?

            No there isn't, it's something that I would need to code as an additional feature.

            E 1 Reply Last reply Reply Quote 0
            • S
              strk last edited by

              Hi @arminunruh ,

              how come even after making a row browser filling, setting the frame top to 0 and aligning the carousel to the middle it's not height centered?

              http://www.querida.si/test-videos-2

              Thanks in advance!

              1 Reply Last reply Reply Quote 0
              • arminunruh
                arminunruh Global Moderator last edited by arminunruh

                Hey strk!

                Oh, yea hmm could be a bug. What settings do you have here?

                "lay options" -> "carousel addon"

                Screen Shot 2016-11-21 at 18.23.28.png

                When I uncheck both I don't have extra space at the bottom. But of course if your captions are just empty or sth there shouldn't be extra space either. But what I find weird is that I see the "numbers" html markup but nothing in there.

                btw your website is pretty amazing :)

                1 Reply Last reply Reply Quote 0
                • S
                  strk last edited by

                  You were right @arminunruh ! I had "show captions" activated but I wasn't using them.
                  Btw thanks for your kind words! Your theme is pretty amazing too! :)

                  1 Reply Last reply Reply Quote 1
                  • E
                    ErEs @arminunruh last edited by

                    @arminunruh is there any chance this will be implemented in the future? personally i think it would be really useful in many cases :)

                    1 Reply Last reply Reply Quote 0
                    • arminunruh
                      arminunruh Global Moderator last edited by

                      what exactly?

                      so if you want to have a carousel that adapts its height like here:

                      https://www.jonathanhares.ch/

                      you can now set the carousel to "fixed height" when you edit the carousel

                      and use a value like 80vh or sth

                      or:

                      calc( 100vh - 100px )

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        lortnok @arminunruh last edited by

                        @arminunruh when setting fixed height of carousel to 70vh for example, the next / previous arrows are not aligned to the middle, can you fix this please?
                        333694736_1123725449025638_5089531995939511963_n.jpg

                        arminunruh 1 Reply Last reply Reply Quote 0
                        • arminunruh
                          arminunruh Global Moderator @lortnok last edited by

                          @lortnok Screenshot 2023-03-02 at 13.57.06.png

                          so i just created a 70vh height carousel and the prev/next arrows are center aligned.
                          do you have a link to where this happens? on your site i cant see the arrow buttons

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            lortnok @arminunruh last edited by

                            @arminunru Thanks for the quick reply!

                            https://56hrs.com/testpage/

                            The arrows are only visible on the mobile version. (Ios, safari)

                            Setting the aspect ratio according to the first picture is a workaround, sort of.

                            Currently I am using fade transition because I prefer that, but on mobile when it is set to fade it is not possible to swipe between the pictures :(, therefore I am forced to use slide transition on the mobile version.

                            It is definitely not end of the world but it is one more thing to remember, one more setting to tweak and I cannot just sync the carousal between mobile and web version.

                            I think swipe navigation option for a carousal is a must nowadays, do you think it could be implemented for the fade transition, too?

                            Thanks a lot for your hard work, really appreciated.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Try this to fix issues before you post:

                            Use the Search Feature. Maybe there is already a solution to your issue.

                            1. Update Lay Theme and all Lay Theme Addons
                            2. Disable all Plugins
                            3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                            4. Now see if your problem solved itself
                            5. Go here, see if your problem is listed here:
                            Troubleshooting

                            When you post:
                            1. Post a link to where the problem is
                            2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                            Thanks!

                            Online Users

                            T
                            E
                            H

                            Recent Topics

                            • T

                              Fullscreen Slider Addon not working

                            • A

                              Designer Websites for free Lay Theme.

                            • A

                              Broken images

                            • A

                              Image hover -> Image on image

                            laytheme.com