MyBB Community Forums

Full Version: Converting to CSS buttons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have been having the same problem with changing to CSS buttons for a while now and have tried searching for the solution. With no help found, I decided I'd come to the myBB forum seeking help.

This is in my active themes global.css:
http://gyazo.com/7a2a73aaffd4f949f5058b4efa1da669

This is in my postbit_email template of the active theme:
http://gyazo.com/b602d07c2360c7f0671622e6779b1f3a

So here's the problem I'm having. The button of the CSS button doesn't show and only text displays.

Screenshot included:
http://gyazo.com/34cd459256b5e318eef8f981d092bd2b

NOTE: The other buttons are NOT CSS buttons.
Use this in "postbit_email" template:

<a href="member.php?action=emailuser&amp;uid={$post['uid']}"><span class="postbit">email</span></a>

Also, I recommend you not to use the name of postbit button class as "postbit". Use something uncommon, like "postbutton", to avoid inviting any class description conflict.
Hi effone.
I have used your suggested idea and have changed the code to the one you provided.
I have also changed it to postbutton.

However I am still having the same problem as before.

Bumping this thread as I would really like to get this fixed.