Scroll to anchor on different page is not working.
-
Hey,
I tried to implement several anchor elements on my page http://vivienda-dresden.de (PW: duesseldorf)
I followed these instructions http://laythemeforum.com:4567/topic/2863/link-to-anchor-from-another-pageSo far the „Jetzt besichtigen“-Button on the home page is working including smooth scrolling.
Unfortunately as soon as you go to my project pages it stops working.
While the X-Button in the top right corner closes the page and takes you back to the right position on the home page, the „Jetzt besichtigen“-Button isn’t doing anything.Interestingly the link itself is working. You can right click it and choose open in a new tab.
Here is a list of these pages:
http://vivienda-dresden.de/vivienda/geschichten-01
http://vivienda-dresden.de/vivienda/geschichten-02
http://vivienda-dresden.de/vivienda/geschichten-03
http://vivienda-dresden.de/vivienda/geschichten-04http://vivienda-dresden.de/vivienda/wohnungsdetails-01
http://vivienda-dresden.de/vivienda/wohnungsdetails-02
http://vivienda-dresden.de/vivienda/wohnungsdetails-03
http://vivienda-dresden.de/vivienda/wohnungsdetails-04
http://vivienda-dresden.de/vivienda/wohnungsdetails-05http://vivienda-dresden.de/vivienda/lage-01
http://vivienda-dresden.de/vivienda/lage-02Thanks
Lars -
Dear @lars
have a look here:Definitive guide to 'Smooth scroll to anchors from menu'
http://laythemeforum.com:4567/topic/4200/definitive-guide-to-smooth-scroll-to-anchors-from-menu/2ANCHOR LINK
http://laythemeforum.com:4567/topic/2863/link-to-anchor-from-another-page/4SMOOTH LINK
http://laythemeforum.com:4567/topic/2144/fade-effect-smooth-transitions-links-via-custom-html/2Let me know if you still have trouble.
Best!
Marius
-
hey so using this gist in lay options → custom html and css → custom head content should make it work!
https://gist.github.com/aunruh/7d06859bedcf0ce780e05e73659f8c48
hmm not sure if position fixed makes it not work :O
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