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. Fullscreen Carousel: Center Images and showing multiple slides

Fullscreen Carousel: Center Images and showing multiple slides

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 97 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.
  • K Offline
    K Offline
    Kappa
    wrote on last edited by
    #1

    Dear Community : )
    I am trying to figure out how to display images centered while showing multiple slides (two slides 50% / full width / using browser height for row height)
    I tried custom css and targeting different carousel groups, but maybe someone has an idea and can help out?

    Any hints are much appreciated : )

    Current set up:
    Screenshot 2021-01-25 at 18.22.45.png

    Scenario:
    Carousel_Multiple-Slides_1.jpg

    01 How it shows at the moment:
    Carousel_Multiple-Slides_2.jpg

    02 What is desired:
    Carousel_Multiple-Slides_3.jpg

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

      Dear @Kappa

      I have the same carousel settings as you and this works for me:

      img.carousel-img {
         transform: translateX(-25%)
      }
      

      Images are now positioned in the center rather than the left margin:
      Screen Shot 2021-01-27 at 5.33.44 PM.png

      Best wishes and have a wonderful day! :)

      Richard

      K 1 Reply Last reply
      0
      • RichardR Richard

        Dear @Kappa

        I have the same carousel settings as you and this works for me:

        img.carousel-img {
           transform: translateX(-25%)
        }
        

        Images are now positioned in the center rather than the left margin:
        Screen Shot 2021-01-27 at 5.33.44 PM.png

        Best wishes and have a wonderful day! :)

        Richard

        K Offline
        K Offline
        Kappa
        wrote on last edited by Kappa
        #3

        Hi @Richard-K
        thank you so much for taking your time and reply with a solution!
        I am very happy that it seems to be possible, but for some reason it still won't work in my case. I tried your code and even tried something similar before.

        Would you mind looking at the problem if I send you the original page? I might overlook just a simple detail.

        Thanks again and enjoy your day! : )

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

          Dear @Kappa

          sure! send me the page and will try to see whats wrong :)

          best
          Richard

          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
          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