Why is ticket 22453 closed? Not solved!

StatusIDPriorityType
Closed23014HighOnion Theme Wordpress
Profile Reply
sir_lwood Client

Hi you,

I am really NOT happy that you close a ticket by just saying “we will forward that to the developer…”! I do not know whether I get a solution or not or until when. This is not what I call support! Waiting for your answer. Thank you anyway.

Replies

User Description Posted On
Shindiri Support team Administrator

Hi,

The functionality was not allowed by default via our developer so there was no error there.

To implement this feature you have to comment a line of code inside the custom.js script.

Navigate to your installation folder wp-contents > themes > onionwp > js > custom.js

Find this line of code:

/*********************************************************************************************************/
/* -------------------------------------- Scroll to top and FadeOut  ------------------------------------------ */
/*********************************************************************************************************/
$(".fade-out, .logo a, .menu-list a, .prev-project, .next-project").click(function(event) {
var newLocation = this.href;
var container = $("html, body");
event.preventDefault();

if ((newLocation !== "" && $(this).attr('href').split('#')[0] === "") || (newLocation !== "" && $(this).attr('href').split('#')[0] !== "" && newLocation === window.location.hash) /*||  ($(this).attr('href').split('#')[0] == window.location.href.split('#')[0])*/ ) {
event.preventDefault();
} else {
container.animate({
scrollTop: 0
}, '600', 'swing', function() {
$("html").fadeOut(700, function() {
window.location = newLocation;
});
});
}
});

});

Set a comment to this if condition, refresh your site.

NOTE: If an update comes for the theme, this code will be overruled so keep this script and make a backup of the old one.

Hope we could be of service

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

sir_lwood Client

Hi,

Thanks for your code :-) But when setting this passage to comment like you describe it does not load the anchor-address. it is written perfectly into the address line of the browser but it does not start to load an open. It stays a white screen then.

sir_lwood Client

Hi you,

Any idea how to solve the issue and so that it starts to load the site correctly?

Thanks

Shindiri Support team Administrator

Hi,

We did not get the notification that you replied, truly sorry,

do you still experience this issue?

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

× This ticket is closed.