-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from tadpolecc/1.2
1.2
- Loading branch information
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' ); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters