Mobile Site Title > is fixed > OFF doesn't work as expected
-
I use Design > Customizer > Site Title > Site Title > is fixed > ON.
If leave this deactivated in Design > Customizer > Mobile (Smartphone) > Mobile Site Title > is fixed > OFF, then the logo on the smartphone normally moves during scrolling with the content as expected. But unfortunately there is a situation where the "fixed” is still active:
The conditions in my case:
Design > Customizer > Menu Style > Menu Bar > hide > ON
I use an image as Site Title in both media width
I use a Project Thumbnail Grid at the beginning of my main page
The project thumbnails are partly covered by the Title Image (as desired)
Lay Options > Activate project overlay
I am on my main page
I do not scroll down
I click on one of the project thumbnails
The corresponding project opens as an overlay
But during scrolling through the project, Mobile Site Title stays fixed and does not scroll with the content, although Mobile Site Title > is fixed > OFFOn my main page, if I scroll down until the title image is out of view before clicking on the project thumbnail, the logo stays out of sight.
I turned off all my custom JS and CSS, but the problem still exists. So I think this is a bug.
Thanks for the great theme and the nice functions. Working with it is great.
-
arminunruh Global Moderatorwrote on Feb 10, 2025, 6:56 PM last edited by arminunruh Feb 10, 2025, 1:59 PM
yea thats because when you scroll inside a project overlay, you dont scroll the whole website
you only scroll a part inside the page:
basically the overlay is a container that has the same height as your browser height.and inside you scroll. but the site title is just a child of the body tag, which is not scrolled in this scenario.
this might be an unfixable thing mmh
cause setting up the scrolling and the project overlay was pretty hard, and i'd basically have to redo it all in a different way, just to have this site title scroll with it i think -
how about you use site title fixed
but then you use this setting where it fades out when you scroll down, and fades in again when you scroll up?its under customize → site title
does that work?
if that doesnt work when you scroll inside a project overlay, thats way easier for me to fix
-
Thank you for your detailed help. I switched "Mobile Site Title" to "is fixed" and "move away when scrolling down" like the settings in "Site Title". This works as expected and is fine for my use.
4/4
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