Skip to content

Commit

Permalink
Merge pull request #7 from tadpolecc/1.2
Browse files Browse the repository at this point in the history
1.2
  • Loading branch information
kcristiano committed Aug 24, 2015
2 parents 0bcf3a7 + ae94f6e commit 6460f79
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
# tadpole-civicrm-css
Tadpole's CiviCRM css override that allows the theme to control the CSS on frontend CiviCRM pages.
Tadpole's CiviCRM css override that allows the theme to control the CSS on frontend CiviCRM pages.

This plugin replaces the core civicrm css file with it's own.

This plugin supports 4.4, 4.5 and 4.6

Version 1.2 is based on the civicrm.css from the 4.6 release


#Overides
Starting in V 1.1 you can now override this plugins CSS with a custom one from your theme. This makes use of the tc_civicss_override filter

Example Code:
```
function tc_civicrm_theme_css( ) {
$tc_css = get_bloginfo( 'stylesheet_directory' ) .'/includes/civicrm.css';
return $tc_css;
}
add_filter( 'tc_civicss_override', 'tc_civicrm_theme_css' );
```
3 changes: 2 additions & 1 deletion tadpole-civicrm-css.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
Plugin Name: Tadpole CiviCRM CSS for WordPress
Plugin URI: https://tadpole.cc
Description: Clean up CiviCRM default CSS handling. On Activation, via CiviCRM API deactivate built in civicrm.css. Then properly register and load Tadpole's custom civicrm.css on the front end, in the admin register the default civicrm.css.
Version: 1.1
Version: 1.2
Author: Tadpole Collective
Author URI: https://tadpole.cc
License: AGPL
CiviCRM Versions: 4.4 4.5 4.6
*/


Expand Down

0 comments on commit 6460f79

Please sign in to comment.