Support Forum

How to hide icons next to buttons in spHead

RI Ricki
Ricki
Member

Hi,

I have been unable to find out how to hide the icons on the buttons for Members, Profile, Logout, etc.  I cannot find any admin option to help me do this, nor can I find it in the template files.

Is there an easy way to turn them off?

Thanks,

Ricki

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

The display template functions are all in the spHead.php template (in the /templates folder of your SP theme). They should be easy to find. They are all one after the other in the ‘userInfo’ section near t5he top.

But – you seem to be suggesting that you just want to not display the icons… is that correct? Or do you mean the whole button?

If the whole button then just comment out the display function.

If just the icon then al of those functions have an ‘icon argument which can be set to empty, Taking the register button as an example this would look like:

sp_RegisterButton('icon=&tagClass=spButton spRight', __sp('Register'), __sp('Register'));

which should result in removing the icon.

YS Yellow Swordfish
Yellow Swordfish
Member

Great. Thanks for the update.

Don’t forget… as always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)