10389 Posts in 2200 Topics by 1712 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 835 Views |
-
Sifr Module link colour

22 July 2009 at 4:35am
I have the following working, as per the Readme file, but how to I add link colour and hover colour?
I can see the instructions for the old Sifr, but not the newer version of Sifr.
Anybody have this successfully working with links?class Page_Controller extends ContentController {
function init() {
parent::init();
Sifr::add_font('din', 'themes/obcrest/fonts/Din-Bold.swf');
Sifr::replace_element('din', 'h3', "'.sIFR-root { text-align: left; color: #001755;'");
Sifr::activate_sifr();
}
} -
Re: Sifr Module link colour

22 July 2009 at 10:04am
sLinkColor doesn't seem to apply, I can't understand why. Does anyone have it working for sifr 3 in silverstripe?
-
Re: Sifr Module link colour

22 July 2009 at 10:28pm
Well, in unsupported modules I found another version if sifr module. This is called from _config.php with:
Sifr::set_js_custom_file_location("sifr/javascript/sifr-config.js");
Sifr::disable();
Sifr::load_sifr();which doesn't seem to work for me at all, not showing up any includes in the site at all.
| 835 Views | ||
|
Page:
1
|
Go to Top |


