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. left aligned pictures in carousel

left aligned pictures in carousel

Scheduled Pinned Locked Moved Addons
6 Posts 2 Posters 749 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
    Colin
    wrote on last edited by
    #1

    hey!
    i have photos in different formats in one carousel and i want to have them to be left aligned. I couldn‘t find any option about this, they are always centered.
    Maybe someone here knows a solution – thanks!

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

      Hi Colin,

      try to put this into your Custom CSS.

      .col .lay-carousel img.h100 {
          left: 25%;
      }
      

      Let me know if that works for you!

      Best!

      Marius

      www.mariusjopen.world

      C 1 Reply Last reply
      0
      • mariusjopenM mariusjopen

        Hi Colin,

        try to put this into your Custom CSS.

        .col .lay-carousel img.h100 {
            left: 25%;
        }
        

        Let me know if that works for you!

        Best!

        Marius

        C Offline
        C Offline
        Colin
        wrote on last edited by
        #3

        Thanks for the reply, but unfortunately it doesnt work yet.
        Its to far left and the high-format ones are still centered.
        here you can have a look.
        Best,
        Colin

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

          Hi Colin,

          ok. That makes sense.

          Try this:

          .col .lay-carousel img.h100 {
              -webkit-transform: translateX(0%);
              -ms-transform: translateX(0%);
              transform: translateX(0%);
              left: 0%;
          }
          

          All the best!

          Marius

          www.mariusjopen.world

          C 1 Reply Last reply
          0
          • mariusjopenM mariusjopen

            Hi Colin,

            ok. That makes sense.

            Try this:

            .col .lay-carousel img.h100 {
                -webkit-transform: translateX(0%);
                -ms-transform: translateX(0%);
                transform: translateX(0%);
                left: 0%;
            }
            

            All the best!

            Marius

            C Offline
            C Offline
            Colin
            wrote on last edited by
            #5

            @mariusjopen Thank you very much – it works now.
            Best, Colin

            1 Reply Last reply
            0
            • mariusjopenM Offline
              mariusjopenM Offline
              mariusjopen
              Global Moderator
              wrote on last edited by
              #6

              Ah! Glad to hear! :-)

              www.mariusjopen.world

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