Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Hide menu voices in a specific page
New Landing › How can we help? › Themeforest Theme Support › Dante › Hide menu voices in a specific page
- This topic has 40 replies, 5 voices, and was last updated 10 years by Kyle – SUPPORT.
-
Posted in: Dante
-
May 13, 2014 at 11:02 pm #74748
I tried some caching plugin (W3 Total Cache, Warm Cache, WP widget cache) but nothing changed.
In order to have a benchmark, I tested the speed and size of another page (a graphic design studio, with a site rich in images): for what I know, this site is developed in WordPress as well.
http://goo.gl/U7IViB
This page is 13,9 MB (while mine is 9 MB), but the site is fast and fluid! — please test by yourself
http://goo.gl/q9qwo2Please help me to fix it.
A.May 14, 2014 at 1:58 pm #74973Hi,
Site speed mostly depends on server resources . You may ask to your hosting provider to increase website speed.Thanks 🙂
With Best Regards
Swift IdeasMay 14, 2014 at 3:23 pm #75029Ok, thank you: I will check with my hosting provider.
Please let me go back on the link issue again:
the proposed solution, namely to add /#section instead of just #section, fixes the original issue but adds two new problems.
1) by clicking on a menu item, the transition to that section is immediate, and scroll effect is missing.
2) the upper part of every section remain hidden if you get there by clicking on menu items instead of scrolling (I hope I made it clear, anyway please check by yourself and see attached screenshot)Please help me to fix it.
Thank you in advance.
ATMay 14, 2014 at 6:02 pm #750801) If you’re loading it from another page, it’s not possible to load page and then scroll. This is browser functionality, not something we can override.
2) Did this happen before adding the / in front?
– Ed
May 14, 2014 at 6:23 pm #750881) Of course from another page the scroll is not possible. But the same happens when in the same (home) page. EG: if you’re in home and click on portfolio, you won’t see the scroll to there. This did’t happen before adding the /
2) no it did’t
May 14, 2014 at 9:36 pm #75112Ok, this should hopefully fix both issues. Edit /js/functions.js, and add the following below line 890:
var linkHref = jQuery(this).attr('href');
becomes:
var linkHref = jQuery(this).attr('href'); if (linkHref.indexOf('/') === 0) { linkHref = linkHref.substring(1, linkHref.length); }
Give that a try and let me know.
– Ed
May 15, 2014 at 12:55 pm #75301I checked through my FTP client: there’s no functions.js (see attachments)
May 15, 2014 at 12:56 pm #75304/wp-content/themes/dante/js/functions.js
– Ed
May 15, 2014 at 1:37 pm #75324Thank you.
It works.
Only when coming from another page the problem 2) remains and the upper part of the section is hidden.May 15, 2014 at 3:59 pm #75392Will I have to modify the functions.js file everytime that Dante will be updated?
May 15, 2014 at 4:34 pm #75406@Alessandro – no, we have updated this for the next update.
Unfortunately not much we can do about that, you’d need to set the blank spacer to be of a taller height to push down the content.
– Ed
June 9, 2014 at 11:11 pm #81299I’m sad to say that I’m having this issue again: when on a secondary pages, e.g. portfolio, I cannot browse to any section but Home.
Links are set to /#section and not only #section, nonetheless the problem is here again.
Any fix?
ATJune 9, 2014 at 11:27 pm #81301@Alessandro – what has changed since it was working?
We’ve written up the functionality to use a different menu when on the homepage, which will allow for you to set a # only menu on your one page setups, whilst using a standard menu throughout the rest of the site. Hoping to get this in the next update.
– Ed
June 9, 2014 at 11:35 pm #81302This reply has been marked as private.June 11, 2014 at 2:05 am #81628Hi there,
These need to be FULL URLs, not just /# – https://www.dropbox.com/s/3rd1mtp98qex6zo/Screenshot%202014-06-11%2003.05.04.png
Apologies, the solution I provided previously won’t work for this solution – it will have to be the full URL to work.
– Ed
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.