1. Home
  2. Docs
  3. KeyGator
  4. Filters
  5. Frontend Pages: Modify CSS Style

Frontend Pages: Modify CSS Style

Filter ID: envato_castle/filters/frontend/user/pages/css/custom

Example to disable the included CSS file and apply yours.

We just need a function to return TRUE for that filter to inform the plugin that you will use your own CSS file then include your CSS file through WordPress action wp_enqueue_scripts.

add_filter( 'envato_castle/filters/frontend/user/pages/css/custom', 'THEME_SLUG_frontend_css' );

function THEME_SLUG_frontend_css() {

    return true;

}