Tweeking Look & Feel

Hello!

I want to modify the look of the plugin with CSS.

I copied the php files from /wp-content/plugins/qa/default-templates to /wp-content/themes/bp-community-child

The correct procedure is to modify the general.css file in /wp-content/plugins/qa/default-templates/css or copy it somewhere else?

Thanks

  • Mason

    Hiya Ontiltsoon,

    There's several ways to do this. After you've copied the files over to your default theme directory, to disable the default CSS (in the plugin), add the following line to your theme's functions.php file:
    add_theme_support( 'qa_style' );

    Now take everything from the css/general.css that you copied over and copy this file's content into wherever you are adding your custom css (like a child's style.css for example). Alternatively, you could import these styles by adding an import statement to you style.css like so:
    @import url(../THEME_NAME/css/general.css); (replace THEME_NAME with your theme's directory name.

    The result is the same, you're now pulling in the styles only from the custom stylesheet. You can edit at will and know that the changes won't be overwritten during a plugin upgrade. Hope this helps!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.