• Resolved NickGreen

    (@nickirongate)


    We are using the webmaster page as a ‘How-To’ section for clients. However, a lot of the default styles a nonexistent on this page, such as basic list styles.

    Is there an easy way to add these styles back in or load a conditional stylesheet otherwise?

    Thanks for all your hard work.

    https://www.ads-software.com/plugins/client-dash/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor joelworsham

    (@joelworsham)

    There isn’t very much for “default” styles in the WordPress administrative screens, so it will need to be added custom.

    You will need to enqueue your own stylesheet. You can do so by using the action hook load-dashboard_page_cd_webmaster so it only loads on the webmaster page.

    Thread Starter NickGreen

    (@nickirongate)

    Perfect, that will work, thank you for providing the hook.

    Thread Starter NickGreen

    (@nickirongate)

    For future reference, this totally worked:

    add_action( 'load-dashboard_page_cd_webmaster', 'enqueue_howto_styles' );
    function enqueue_howto_styles () {
    	wp_register_style('howto-css', get_template_directory_uri() . '/css/howto.css', false, null);
    	wp_enqueue_style('howto-css');
    }

    Thread Starter NickGreen

    (@nickirongate)

    marking resolved

    Plugin Contributor joelworsham

    (@joelworsham)

    Great! glad to help

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add css or style the webmaster tab?’ is closed to new replies.