Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.1.2
-
Fix Version/s: 2.2.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
Currently there's no way to have fine-grained profile-specific css styling. For example, perhaps I want a specific font used on the detail view for profile #3, but want the default font used for all other profiles.
To accomplish this, add a div inside the main crm-container div:
<div id="profilewrap{$groupId}">
In some cases, the gid is not passed to the template, such as CRM/Profile/Page/View.php
Add: $this->assign( 'groupId', $this->_gid );
Around line 74