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:4567/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); }
I also code custom websites or custom Lay features.
šæ Email me here: šæ
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- 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:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it