Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to make button bar look like Penny Arcade's version?

CaioCaio
edited April 2012 in Vanilla 2.0 - 2.8

I was wondering how to make button bar look like Penny Arcade's version:
Can anyone help me? I want to figure out how to put the buttons in a bar and how to move the preview and save draft buttons to bottom, both which I can't figure out.

The buttons on the bottom in "normal" mode:

The buttons on the bottom in preview mode:

Best Answers

  • KasperKasper Vanilla Staff
    Answer ✓

    Got the second part of your question covered: You need to create two new folders in your /themes/default folder. The first one is called "views" and inside of that you create one called "post". You should now have a path that looks like this: /themes/default/views/post/
    Inside of the "post" folder you create a new file called "comment.php". Now take the contents of the following gist: https://gist.github.com/2419542 and put them inside your comment.php file and you're done.

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

  • KasperKasper Vanilla Staff
    Answer ✓

    As for the first part, simply create a file called custom.css and put it in the folder /themes/default/design. Then put the contents of this gist https://gist.github.com/2419725 inside your custom.css file and you've got yourself a button bar like the one on Penny Arcade :)

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

Answers

Sign In or Register to comment.