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. Addons
  3. Carousel styling

Carousel styling

Scheduled Pinned Locked Moved Addons
7 Posts 4 Posters 223 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.
  • M Offline
    M Offline
    minutes
    wrote on last edited by
    #1

    Hi,

    When the option for "Show multiple slides" and "Centred" is selected, is there any way to style the carousel so that the images on the sides are shown either at a smaller height or with less opacity (or both)? Like in the example below.

    Screenshot 2022-08-21 at 16.08.27.jpg

    Here is also a link to the example (please scroll to the bottom):
    https://amagazinecuratedby.com/collection/lucie-and-luke-meier/

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

      sure!

      .lay-carousel-slide{
          will-change: opacity,transform;
          transition-property: opacity,transform;
          transition-duration: .5s;
          transition-timing-function: ease-in-out;
          opacity: .5;
          transform: scale(.9);
      }
      .lay-carousel-slide.is-selected{
          opacity: 1;
          transform: scale(1);
      }
      
      1 Reply Last reply
      0
      • M Offline
        M Offline
        minutes
        wrote on last edited by
        #3

        @arminunruh

        Thank you so much, this is so helpful!

        I have another question for you about a different styling, this is for a different idea I'm working on. Is there a way to style a carousel so that the images layer on top of each other – when the format of the image is different the previous image would be seen underneath, like in the example below:

        Screenshot 2022-08-31 at 23.03.05.jpg

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

          ah that is a very cool idea,
          i will write it down and may work on it

          not sure when!
          i dont think you can do this by yourself

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jcktylr_
            wrote on last edited by
            #5

            hello @arminunruh,

            i was also wondering if it would be possible to style the carousel so that the images layer on top of each other? like this website?

            https://lauramas.com/

            thanks

            A 1 Reply Last reply
            0
            • J jcktylr_

              hello @arminunruh,

              i was also wondering if it would be possible to style the carousel so that the images layer on top of each other? like this website?

              https://lauramas.com/

              thanks

              A Online
              A Online
              alasdair17
              wrote on last edited by
              #6

              @jcktylr_ I think they've manually layered the images together in photoshop then inserted them into the carousel. Be cool to have this option in lay though.

              1 Reply Last reply
              1
              • J Offline
                J Offline
                jcktylr_
                wrote on last edited by
                #7

                Ah okay that makes sense! thanks for your help

                1 Reply Last reply
                1
                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
                A
                alasdair17
                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