-
AuthorPosts
-
February 9, 2026 at 11:18 am #1494880
Hi all
Problem:
– Multiple CTA buttons scroll to the same form
– Only first button works correctly
– Others jump up/downWhat I tried:
– unique anchor IDs
<div id=”kontaktformular-1″></div>
<div id=”kontaktformular-2″></div>
<div id=”kontaktformular-3″></div>
– anchors directly on the sectionExpected behavior:
– All buttons should smoothly scroll to the formURL:
Thanks!
February 9, 2026 at 4:31 pm #1494889Hey Philipp,
You need to add the anchor as the link in the buttons, then add the id to your form.
Best regards,
RikardFebruary 10, 2026 at 3:41 pm #1494924Hey Rikard
Thank you, let me show you the code I currently use:
1) Anchors in all buttons:
<div style=”text-align:center;”>
Leitfaden jetzt kostenfrei anfordern
</div>2) Added the ID to my form:
“kontaktformular”Please reproduce my problem:
Only first button works, other belo buttons don’t work.Found some issue with the soft scroll? first time press button, second time?
Thank you for looking into thsi issue.
Philipp
February 10, 2026 at 5:26 pm #1494929Hi,
You have not filled in a link in the buttons which are not working:
<div style="text-align: center;"><a class="avia-button avia-size-large avia-color-theme-color" href="#" data-avia-scroll-to=".kontaktformular">Leitfaden jetzt kostenfrei anfordern</a></div>The href value is where you put the link, and linking to a # sign will go no where. Also, you don’t need this bit:
data-avia-scroll-to=".kontaktformular"Best regards,
RikardFebruary 10, 2026 at 6:06 pm #1494931Thank you so much – Rikard, just made the suggested corrections on all scroll-buttons.
Seems 1st button scrolls, but from 2nd to last button the page
moves up and down to the next button,
but not to the form.Can you have another look?
Much appreciated!
February 11, 2026 at 6:27 am #1494961Hi,
Thank you for the inquiry
We’ve found this script error in the console, which might be contributing to the issue. Did you add any custom scripts or modifications to the theme?
kuendigen/:537 Uncaught ReferenceError: jQuery is not defined at kuendigen/:537:6Best regards,
IsmaelFebruary 11, 2026 at 9:36 am #1494971Hi Ismael
Thank you for coming back.
Nothing special (standard plugins like staging, Yoast, etc.) and only custom CSS:
/*Menue Button*/
/*#top #wrap_all .header_color li#menu-item-10312.av-menu-button-colored > a .avia-menu-text {background-color:#FA7D19;}*/#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {background-color:#FA7D19 !important; border-color:#FA7D19 !important;}
#menu-item-10312 .avia-menu-text {background-color:#FA7D19 !important; border-color:#FA7D19 !important;}
/*Desktop*/
@media only screen and (max-width: 1920px) {
.indicates-required {display:none !important;}
.mc-field-group label {display:none !important;}
.mc-field-group {clear:none !important; width:32% !important; float:left !important; margin-right:13px;}
.mc-field-group input {font-size:16px !important; padding:13px !important;}
#mc_embed_signup .button {background-color:#2d5c88 !important; border-color:#0b3a66 !important; width:32% !important;border-radius:2px !important; height:45px !important; line-height:23px !important;}
#mc_embed_signup .button:hover {background-color:#3d71a1 !important; border-color:#1b5080 !important;}
}/*Mobil – Tablet*/
@media only screen and (max-width: 768px) {
.mc-field-group input {margin-bottom:0px !important;}
.mc-field-group {clear:none !important; width:100% !important; float:left !important; margin-right:13px; margin-bottom:0px !important;}
#mc_embed_signup .button {width:100% !important;}
}/*News Übersicht Seite – Datum deaktiviert*/
.html_elegant-blog .avia-content-slider .slide-meta {display:none !important;}
/*Zwei Border Linien Blog Seite deaktiviert*/
.html_elegant-blog #top .post-entry .post-meta-infos {display:none !important;}#top .av-menu-button > a .avia-menu-text {border-radius: 20px !important;}
/*P-Tag move font size*/
.p-move-h2 {font-size:40px !important; font-weight:bold;}/* CSS Enfold-Mailchimp-Newsletter Input fields*/
#top .avia_ajax_form.avia-mailchimp-form input[type=’text’] {
background: #c4dff6;
color: #00334e;
}
#top .avia_ajax_form.avia-mailchimp-form .required{
display: none;
}Any thoghts?
Thank you.
Philipp
February 11, 2026 at 10:41 am #1494978Hi,
Thanks for the update. Please try to temporarily deactivate all plugins and any custom code you might have added, to see what happens then. CSS will likely not cause any jQuery errors.
Best regards,
RikardFebruary 12, 2026 at 1:26 pm #1495025Hi Rikard
I deactivated all plugins and deleted the CSS, no change.
Please note, this issues checked with ChatGPT:
Here’s a clear English version of your text:
> Why does the page “jump up and down”?
> The cause isn’t the button itself, but the combination of:
> – multiple anchor links using #kontaktformular
> – Enfold’s **sticky header + scroll offset**
> – possibly **animation or lazy loading**
>
> 👉 Result:
> On the first click → works correctly
> On subsequent clicks → the browser thinks:
> “I’m already at the anchor,”
> → so it briefly jumps up and down without actually scrolling.
>
> This is standard HTML behavior, amplified by Enfold.Any thoughts how I can resolve this issue?
Thank yous so much!
Best,
PhilippFebruary 12, 2026 at 4:57 pm #1495032Hi,
The jQuery error is still there. What happens if you update to the latest version of the theme?
Best regards,
RikardFebruary 13, 2026 at 8:42 am #1495051Hi Rikard
Done that, same same – jumping up and down, only first button on page works.
I am not a pro, but how about the PHP version to be updated? What else? Any workaround to be recommended to this issue?
Die unten aufgeführten Optionen beziehen sich auf deine Serverkonfiguration. Wenn Änderungen erforderlich sind, benötigst du möglicherweise die Unterstützung deines Webhosting-Unternehmens.
Server-Architektur Linux 6.8.0-85-generic x86_64
Webserver Apache
PHP-Version 7.4.33-nmm8 (Unterstützt 64bit-Werte)
PHP-SAPI fpm-fcgi
Maximale PHP-Eingabe-Variablen (max_input_vars) 10000
Maximale PHP-Ausführungszeit (max_execution_time) 600
PHP-Arbeitsspeichergrenze (memory_limit) 512M
Maximale Eingabe-Zeit (max_input_time) -1
Maximale Dateigröße beim Upload (upload_max_filesize) 512M
Maximale Größe der PHP-Post-Daten (post_max_size) 512M
cURL-Version 8.5.0 OpenSSL/3.0.13
Ist SUHOSIN installiert? Nein
Ist die Imagick-Bibliothek verfügbar? Ja
Werden sprechende Permalinks unterstützt? Ja
.htaccess-Regeln Individuelle Regeln wurden deiner .htaccess-Datei hinzugefügt.
robots.txt Deine Website verwendet die dynamische robots.txt-Datei, die von WordPress generiert wird.
Aktuelle Zeit 2026-02-13T07:38:40+00:00
Aktuelle UTC-Zeit Friday, 13-Feb-26 07:38:40 UTC
Aktuelle Serverzeit 2026-02-13T08:38:37+01:00Thank you.
Philipp
February 13, 2026 at 8:53 am #1495053Hi,
You can try to update the PHP version as it’s outdated anyway, but I don’t think that it causes the jQuery error. Please try clearing all the cache from your caching plugins and leave them deactivated for a while to see what happens then. Also, I’m not sure why you would need 3 separate caching/optimisation plugins? I would suggest that you chose one of them and remove the others.
Best regards,
RikardFebruary 13, 2026 at 12:16 pm #1495056Hi Rikard
Thank you for your support.
What I did:
* reduced caching plugins down to W3 Total Cache
* deactivated W3 Total Cache with deleting all of the cacheNo change, still the same issue.
What can I do?
Thank you
February 13, 2026 at 12:17 pm #1495057Plus:
* upgraded to PHP 8.2 on the server sideFebruary 13, 2026 at 6:51 pm #1495066Hi,
Thanks for that. The jQuery error is gone now, but the page you linked to is looking very strange. It has two scrollbars for example, and a gigantic footer. Are we allowed to temporarily deactivate plugins?
Best regards,
RikardFebruary 13, 2026 at 8:16 pm #1495069Sure, pls temporarily deactivate all plug-ins. Thx.
February 19, 2026 at 2:47 pm #1495226Hi,
Thanks for that, and sorry for the late reply. I’ve asked the rest of the team for help with this, but none of us could find the cause of this problem. Could you share FTP login details as well so that we can try to upload a fresh copy of the theme for you please?
Best regards,
Rikard-
This reply was modified 15 hours, 1 minute ago by
Rikard.
-
This reply was modified 15 hours, 1 minute ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
