Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


[Documentation] Editing css of plugins in Vanilla

CaioCaio
edited April 2012 in Questions

I was wondering the protocol for editing the css in plugins in Vanilla, do you edit it directly or through your theme?

Tagged:

Best Answers

  • 422422 Developer MVP
    edited April 2012 Answer ✓

    I add a caveat to custom css file , like this.

    < !-- the css below changes voting plugin -- >

    Then add the css changes, use !important attribute where needed

  • hbfhbf wiki guy? MVP
    Answer ✓

    Caio said: I was wondering the protocol for editing the css in plugins in Vanilla, do you edit it directly or through your theme?

    it's a matter of preference... but doing it in the theme gives you the ability to upgrade the plugin without losing the css changes... however, making the changes to the plugin css file allows your changes to propagate across themes. (you just need to be more careful at upgrade)

  • 422422 Developer MVP
    edited April 2012 Answer ✓

    You could use

    @import

    and whack them in a separate css file too.

    UnderDog

Answers

Sign In or Register to comment.