This repository has been archived by the owner on Nov 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Handling Plugin CSS
Dinesh Jain edited this page Jan 17, 2016
·
1 revision
Important: Before starting with this tutorials, make sure you have setup rtPanel with its dependencies on your local system.
rtPanel has support for multiple plugins, and it loads all style by default. If you want to load only theme css, but not plugin css then need to do a small tweak.
Edit _variables.scss
file in /assets/rtpanel/scss/
location, navigate to Control Support Plugins Styles section.
Here you will see the code as,
$load-bbpress-styles : true;
$load-breadcrumb-styles : true;
$load-buddypress-styles : true;
$load-google-custom-search-styles : true;
$load-pagenavi-styles : true;
$load-woocommerce-styles : true;
$load-jetpack-styles : true;
$load-gravity-form-styles : true;
$load-ninja-forms-styles : true;
$load-contact-form-7-styles : true;
$load-rtmedia-styles : true;
$load-yarpp-styles: true;
Change the value true
to false
, this will remove that particular plugin styles from style.css. So no need to search and delete plugin CSS in style.css manually.
Note: Make sure the grunt
command is running while doing this change.
rtPanel:
- End-User Documentation
- Developer Documentation
- General
- Customizing Image Sliders in rtPanel Child Theme
- Add Google ad-banner above logo in rtPanel
- Customize rtPanel Footer Information
- Filters in rtPanel
- Integrated SEO plugin in rtPanel
- Create Metabox on rtPanel Child Theme
- Add Google Adsense Link Unit In Header
- Create Custom Taxonomy on rtPanel
- rtPanel:Comments with Gravatar
- rtPanel: Subscribe Widget
- Create Custom Post Type with rtPanel Child Theme
- rtPanel Theme Options ‘General’
- Using rtp_generate_thumbs() function in child theme
- WordPress Debugger 'WP_DEBUG'
- Adding Social Sharing Button to Website: Using Text Widget
- Clickable header in rtPanel child theme
- CSS Checklist for developers
- Implementing rtp-slider in the child theme
- Creating custom page templates in rtPanel child theme
- Child Theme development using rtPanel – Part I
- Child Theme development using rtPanel – Part 2
- rtPanel Developer Program: Standards Guidelines
- rtPanel Developer Program:Test Project
- Removing the default rtPanel Hooks
- Browser Specific Styling