Support » Plugin: WP-Members: Membership Framework » [Plugin: WP-Members] Enabling/Disabling Default Styles

  • Resolved creativeworldstudio


    Hello – so far in testing WP Members looks to be a very promising plugin, thank you!

    I’d like to be able to disable the WP-Members default CSS styles completely.

    I know we can remove plugin scripts/styles via the theme functions.php however I’m not sure if you’re using (the prefered) wp_enqueue_script() and wp_enqueue_style() to load your styles, or if you’re just dropping them into the header?

    And perhaps that isn’t working for me because I’m using the wrong $handle (I thought it would be ‘wp-members’ but this dosen’t do anything).

    For now I’ll overwrite the CSS from my theme styles.css but ideally if an option could be added in the backend (ie- [check box] Use WP-Members CSS?) that would be great.

    Thanks, Leon.

    If it helps, I’m using this code in my functions.php to remove styles (but its not doing anything):

    function remove_styles() {

    update 2:
    Ok I see now that if I set the WP Members > Manage Options > Custom CSS field to my themes CSS field the default styles arn’t loaded. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chad Butler


    Seems like you’ve figured it out already…

    If you need more information, this and more is covered in the Users Guide.

    Yes, figured it out thanks. When I first saw that field option I assumed it was to add a style sheet in *addition* to the default styles (and not replace it). Thanks for the quick reply.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP-Members] Enabling/Disabling Default Styles’ is closed to new replies.