Carousel fixed position
-
Hi there!
I am currently trying to make a page that is composed of a scrollable text on the left and a fixed carousel on the top right. I try to fixed the position of a carousel but it doesn't works.
This is an example page
http://www.metapublishing.info/matteo-zanini-just_panino-eng
When I scrool down to read the text I would like that the carousel stay fixed on the top of the page.
Sorry if this is a really basic thing, I am quite new to CSS and would be happy about a tip!
Thanks!Rocco
-
Dear @metapublishing
you can give elements a specific CLASS for example called: fixed-element.Then you can use CUTSOM CSS to position that class as fixed:
.fixed-element { position: fixed; left: 20%; top: 20%; }
Hope that helps!
Best!
Marius
-
Thanks! It works
Cheers
-
Great! Happy to hear!
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