Increase the size of avatars in cover "Protean" (as Lucid)

1. To copy /modules/boonex/lucid/data/template/bx_persons in /modules/boonex/protean/data/template/
and Remove /modules/boonex/lucid/data/template/bx_persons/cover.html
----------------------------------------------------------------------------------------------------------------
2. In /modules/boonex/protean/data/template/system/css
Create a common.css file that contains:
@import url(../../../../../../../template/css/common.css);
/* --- --- */
/* --- Profile Thumbnails/Avatars --- */
img.bx-base-pofile-unit-ava,
img.bx-base-pofile-unit-thumb {
    background-color: ;
}
div.bx-def-unit-img p.bx-base-pofile-unit-ava {
    line-height: 92px;
    line-height: 5.8rem;
}
----------------------------------------------------------------------------------------------------------------
3. In /modules/boonex/protean/data/template/system/scripts/BxTemplConfig.php
Under the line:
$this->_isModule = BxDolModuleQuery::getInstance()->isModuleByName($sName);
Insert :
//--- Defaults
        $this->_aConfig['aLessConfig'] = array_merge($this->_aConfig['aLessConfig'], array(
            'bx-margin' => '16px',
            'bx-margin-sec' => '8px',
            'bx-margin-thd' => '4px',
            'bx-padding' => '16px',
            'bx-padding-sec' => '8px',
            'bx-padding-thd' => '4px',
            'bx-size-avatar' => '96px',
        ));
----------------------------------------------------------------------------------------------------------------

  • 1014
  • More
Attachments
Replies (2)
    Login or Join to comment.