• Hey, I’m looking to do some custom styling to pretty much everything in this plugin, but the documentation doesn’t mention anything about how to do this without changing the original files (which I don’t want to do).

    Is there some sort of template file overriding system in place, so I can create my own files without damaging the original files?

    https://ww.wp.xz.cn/plugins/sp-client-document-manager/

Viewing 1 replies (of 1 total)
  • Plugin Author smartypants

    (@smartypants)

    Hello, the css file name is cdm-style so you can put your own css file in your theme and the following code in your functions.php. Then in cdm.css override any cdm styles. You could always start by copying the whole css file and pasting it into cdm.css and changing it from there.

    function michael_cdm_css(){
        wp_enqueue_style(
            'michael_cdm_css',
            get_stylesheet_directory_uri() . '/cdm.css',
           array('cdm-style')
        );
    }
    add_action( 'wp_enqueue_scripts', 'michael_cdm_css');
Viewing 1 replies (of 1 total)

The topic ‘Custom styling’ is closed to new replies.