Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author gVectors Team

    (@gvectors-team)

    Hi cmaj,
    wpDiscuz form style is light, and most of WordPress themes can overwrite all buttons. here is an example with Twenty Fifteen WordPress theme: https://screencast.com/t/ajWNLFw5xI0

    As you can see all buttons should be automatically styled with current theme css. It seems your theme is has not all necessary styling components and it has not been written with WordPress standards.

    Anyway, if you want to style wpDiscuz form button, you can put CSS code in wpDiscuz > Settings > Styling > Custom CSS Code textarea.

    For all buttons use:

    button, input[type="button"], input[type="submit"]{
     .....
    }

    For wpDiscuz specific buttons use:

    #wpcomm button, #wpcomm input[type="button"], #wpcomm input[type="submit"]{
     .....
    }
    Thread Starter cmaj

    (@cmaj)

    But wont #wpcomm .wc-field-submit input[type=”button”] override whatever is declared as part of button, input[type=”button”], input[type=”submit”]? There are quite a few attributes are set in #wpcomm .wc-field-submit input[type=”button”]

    Thread Starter cmaj

    (@cmaj)

    Any update on this?

    Even if I set the input[type=”button”] in my theme, #wpcomm .wc-field-submit input[type=”button”] overrides most of the css attributes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to use theme button’ is closed to new replies.