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 captions centered on viewport

carousel captions centered on viewport

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

    Hi Laytheme Forum,
    I want to use the carousel addon and place the carousel captions independently centered on the viewport (projecting beyond the carousel frame). I tried different Custom CSS (as seen in other posts) but can't find a solution. The captions stay within the carousel frame...

    I used something like this:
    .lay-carousel-sink-parent {
    position: fixed;
    top: 50%;
    left: 2%;
    overflow: hidden;
    }
    (Sorry if this is totally wrong, I'm not very skilled in CSS)

    Do you know how to solve this in an easy way? Would be so nice!!
    Thanks in advance!
    Paulina

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

      this should be the correct way to do it:

      http://laythemeforum.com:4567/topic/10172/changing-the-position-of-numbers-and-title-of-carousel/4

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

        Sorry, I just saw your reply. Thanks a lot, Armin!

        I managed to position the captions in the center now, but can't find a way to let them overflow the carousel frame. I want them to be as wide as the viewport (tried "width: 100vw" but that didn't work). Maybe it's because of a conflict with the carousel code?
        Do you have an idea?

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

          i would need the URL to where u have the issue

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cpaulinam
            wrote on last edited by
            #5

            Here's the link:
            https://www.paulinamohr.de/home-juni/

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

              i think you need to make your carousel as wide as the whole page. so resize and place it in the gridder.

              then we just make the images smaller:

              .slide-inner{
              transform: scale(0.7);
              }
              
              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