MyBB Community Forums

Full Version: CSS Buttons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How is it possible to make all postbit buttons and the other buttons with CSS? How do I make it ignore the images, and use the CSS for the buttons.

Shannon
Create the buttons code in global.css of your theme
.buttons {
add your button style
}

The you need to edit the post bit for each button, it should look like this:
<a href="private.php?action=send&amp;uid={$post['uid']}" title="{$lang->postbit_pm}" class="buttons">P.M.</a>&nbsp;
Note: CSS buttons usually make issues with the buttons who have popups like, postbit_edit button e.g.
I have all my buttons created in CSS and i have no problems with the edit one. The only one i had issue was the multi quote one, i had to add a small gif to retain the function.
Decided it is WAY too much effort to do it, what will I do? I suck at graphics so if I do the buttons they are going to be just as bad. :/