Transition with Additional Close button to Navigation
-
Hi,
I added a close button to my projects, but when I click it the page loads as a fresh page and there is no fadeout transition. I believe it happens because it is not on the regular navigation.
Link: http://www.dogukankarapinar.com/yeni/together-architecture/
You can see the close button on the top right corner, I use different links for different categories. Then I control the visibility with -slug additions. How can I use this link with smooth page transitions?
Thanks.
-
Hi dgknkrpnr!
Sorry for the late reply. The message was in the abyss of the forum.
Glad you wrote again.I can see the problem. This is because Laytheme is coded as a single page javascript application.
Normally when you click on a link to open a project or a page it dies not reload the whole website. But only the content of it. This is why the transitions are so smooth.
If you create a custom link it reloads the whole page.
There is not yet an official solution for this and we will consider this in the future.
I will dig into this as well and will let you know more if possible.
Best!
Marius
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