fixed image position while scrolling
-
Hi all! big noob here 🤓
Im super happy with the features that LayTheme offers, but im struggling with my custom menu:
https://johanpoezevara.com/I didn't have any trouble adding a hover effect with CSS, but when i tried to apply classes that i found on similar topics here, all my attempts to keep my post-it notes in a fixed position at the top of my page (like the site title) have been unsuccessful.
Can someone help me? -
Hey!
have you built the navigation in the gridder? If so just give the row that contains the post-it navigation a class or ID (right click "set HTML class and ID") and add to the css something like:.example-class {
position: fixed;
width: 100%;
height: auto;
top: 0;
}Maybe that helps already :)
Cheers -
very good!
you can also do this for a row:
.example-class {
position: sticky;
width: 100%;
height: auto;
top: 0;
}its a little similar
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