Support Forum

Removing Icons

AT atggggg
atggggg
Member

I know this topic has been addressed in the past (https://simple-press.com/support-forum/sp5-general-topics/remove-all-icons/), but I am having difficulty removing icons from the forum.

I am hoping to remove the icons from buttons like ‘Members’, ‘Search’ and ‘Login/Logout’ so that they simply display text.

I attempted to remove the ‘Login/Logout’ button by changing the following line in spHead.php:

sp_LogInOutButton(‘tagClass=spButton spRight’, __sp(‘Log In’), __sp(‘Log Out’), __sp(‘Log in and log out’));

to

sp_LogInOutButton(‘tagClass=spButton spRight&icon=’, __sp(‘Log In’), __sp(‘Log Out’), __sp(‘Log in and log out’));

Any help you can offer is greatly appreciated.

Thanks!

 

 

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

for log in/out button, something like:

                sp_LogInOutButton(‘tagClass=spButton spRight&logInIcon=&logOutIcon=’, __sp(‘Log In’), __sp(‘Log Out’), __sp(‘Log in and log out’));

you just had the wrong argument…  they may vary from template function to template function…

see:  http://codex.simple-press.com/codex/api/template-functions-and-the-api/display-template-functions/common-view/