Home Forums Particles Support Button-link in JL Feature Box only opens in new tab or window. Not same window. Reply To: Button-link in JL Feature Box only opens in new tab or window. Not same window.


Tony
Moderator

Hi there,
Please open the jlfeaturebox.html.twig then change

{% set linkscroll %}
{% if item.buttonlink|e matches '/#/' %} jl-scroll{% endif %}
{% endset %}

to

{% set linkscroll %}
{% if particle.class != 'no-scroll' %}
{% if item.buttonlink|e matches '/#/' %} jl-scroll{% endif %}
{% endif %}
{% endset %}

after, open feature box particle, add no-scroll class to the particle to remove scroll feature 🙂
No Scroll
Let me know if it works for you.

JoomLead Gantry 5 particles 2.2.0 released, new features and bug fixes Changelog
Cyber Monday is finally here! Save 30% OFF everything. Use promo code: 30OFFCM Shop Now