Notifications
Clear all

[Solved] Remove Scroll Behavior When Clicking "Add Topic"

2 Posts
2 Users
0 Reactions
158 Views
Posts: 1
Topic starter
(@vujasinem)
New Member
Joined: 2 months ago

When users click on "Add Topic," the page scrolls to the top, causing the topic input field to be hidden under the header menu. I've noticed that the scroll behavior is also active here on the forum. How can I remove this scroll behavior? It’s confusing for users as the option to add a topic becomes invisible, and they struggle to find it.

1 Reply
Sofy
Posts: 5002
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi,

Please follow the steps below:

  1. Open the wp-content/plugins/wpforo/assets/js/frontend.js file.
  2. Delete or comment out line 741, as shown in the screenshot below. Please be careful and ensure you remove the correct line.

Note: This customization is not update-safe, meaning you will need to repeat these steps each time the plugin is updated.