carousel captions centered on viewport
-
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 -
this should be the correct way to do it:
http://laythemeforum.com/topic/10172/changing-the-position-of-numbers-and-title-of-carousel/4
-
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? -
i would need the URL to where u have the issue
-
Here's the link:
https://www.paulinamohr.de/home-juni/ -
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); }
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login