Support Forum

Disable Topbar login,Registration panel

VJ Vivek Joshi
Vivek Joshi
Member

Hello,

How to disable or remove Login,Registration panel which is shows above my Topbar after Activating Simple:press and its plugin.

1 Answer

New Answer

IK Ike
Ike
Member

Hey Vivek Joshi,

Not sure what you mean by panel there, do you mean the login and registration buttons in the header of your forum?

You can remove these easily enough by removing the template functions from the theme. To do this, you will need to firstly set up a Child Theme. Please check out that page as it has all the information you will need, then download the appropriate child theme framework from our store.

Next you will need to copy the spHead.php template from your parent themes ‘templates’ folder and paste it into your child themes ‘templates’ folder. Please note that if you are using Reboot theme, you will need to target the parents templates > desktop folder, and in turn the template copy must then go in your child themes templates > desktop folder. This might mean that you will also need to make the same change to spHead.php in the mobile folder.

In your newly pasted child themes spHead.php, you will need to find and remove (or comment out with a hash #) the following functions:

sp_RegisterButton

sp_LogInOutButton

If you’re using Unified theme, you will have to remove both instances of these functions inside spHead.php as one will exist under a ‘not mobile’ rule and one will exist under a ‘mobile’ rule.

Hope that helps!