Hi
if one clicks link to contact while in blog, either main page or an individualk blog post, the page first
- change to one page mode, stops at a section, then after approx 1 sec
- scrolls down to the contact section
I would like to ti go directly to the contact form/section.
Thanks
Hi,
Could you describe more? We do not understand clearly about problem.
Please open file scripts.js (md_max/js/scripts.js)
- Line 78, find code of scrolling (above comment code / -------- scroll ------------ / )
Insert the following:
- Line 143 ( above code $('#main-nav li:first a').click(function () { )
insert :
})) ;
Save and clear cache.
Just checked it again and we realized that we were wrong.
From Blog, when clicking Contact, site goes to Contact directly but site data is not load fully so you can see Contact displays first then site scrolls and goes to Contact again. Actually, upper sections after loading fully, they push Contact down so we have feel that it is a wrong scrolling behavior but it is not.
So the only way to make it go to Contact without scrolling is getting site without scrolling behavior.
Phoung
Does this mean it is not possible to make to
1. go to top of page and then
2. scroll down to contact?
it would look and function much better
Would it be possible to load contact in any other way?
Thanks
Hi,
We will check and reply ASAP :)
(P/s: We have 2 weekend days off this week. We will be back on next Monday. So, please understand for us if you do not receive any reply. Thank you very much for your patience)
Excellent, HIGHLY appreciate your follow-up on this and other matters.
Have a nice weekend! :)
please open file scripts.js in folder md_max/js/scripts.js
Search the code scroll in line 78 (comment code / -------- scroll ------------ / )
Adding the code:
Go to 143 ( code $('#main-nav li:first a').click(function () { )
and add
})) ;
Save and clear cache
Khm,
Please check if it ok :)
Hey, this is awesome!
Out of curiosity, what did you do, or what was the solution?
One more thing, when it loads the contact form it is a wee bit above the form itself.
Is it possible to adjust move the anchor for the view/panel element? Where are the anchors hidden? Thanks!
It is the best way we have. Please open file script.js in your theme and check line 76, we edited it.
ok thanks :) Case closed.