modify code on artion - Forum | JoomShaper
Staff replied General

modify code on artion

Asked by Fabrice 4 years ago Last activity 4 years ago

Hi, I just purchased a license for artion template, it is great except I'd like the text "Artion logo" to move upward and get to the menu posuition a little earlier. How can I modify the height where the novement is triggered?
Thanks.

7 replies

Mehtaz Afsana Borsha Staff

Hi,

Thanks for contacting us. Could you please give me your site URL and also screenshot of your issue? I need to check.

-Regards.

Fabrice Asked this

Hi,
the site is on local serveur for now. isn't there a javascript file to modify?
thanks

Mehtaz Afsana Borsha Staff

No sorry we do no support on giving javascript.

Fabrice Asked this

ok, what's the point of keeping such a secrecy about the code ?
Jomla is an open source, remind you, and I understand you need to protect your work but I'm a dev too and still rely on your products to deliver sites to my final customers...
It wasn't so hard to open up the template/artion/js/main.js and change the scrollposition to whatever you need...
// window scroll text animation
$(window).on("scroll", function () {
const scrollPosition = $(window).scrollTop();
if (scrollPosition > 580) {
$(".animated-text").addClass("animate");
$(".animated-text-section").css("zIndex", "9999");
} else {
$(".animated-text").removeClass("animate");
$(".animated-text-section").css("zIndex", "1");
}
});
});

Thanks for the support Mehtaz.

Mehtaz Afsana Borsha Staff

This is your main topic right?

" I just purchased a license for artion template, it is great except I'd like the text "Artion logo" to move upward and get to the menu posuition a little earlier. How can I modify the height where the novement is triggered?"

I think its also possible via custom CSS. If its only CSS issue then I can try it otherwise sorry its beyond our support policy because we do not provide custpmization support. Could you please give me your site URL and also screenshot where you need to change?

Fabrice Asked this

No problem Mehtaz, problem solved anyway, thank you.

Mehtaz Afsana Borsha Staff

Glad to know that it is fixed now. You can now close this post by accepting the answer.

Thanks.

Log in to reply.