5.7.2.1 and Foundation 5

Permalink 1 user found helpful
So, it says in the update log that 5.7.2.1 is supporting Foundation...

Could someone elaborate on this? The Theme is still using bootstrap I guess....

 
MrKDilkington replied on at Permalink Best Answer Reply
MrKDilkington
Hi JasonStone,

You are correct, the Foundation framework is now supported. The default Elemental theme uses Bootstrap.

The grid framework that a theme uses is set in page_theme.php.
- In Elemental
protected $pThemeGridFrameworkHandle = 'bootstrap3';
https://github.com/concrete5/concrete5-5.7.0/blob/develop/web/concre...

There are four grid frameworks that install with concrete5.
concrete\src\Page\Theme\GridFramework\Type
https://github.com/concrete5/concrete5-5.7.0/tree/75d85fb56d94404d21...
Kiesel replied on at Permalink Reply
Thank you!
Kiesel replied on at Permalink Reply
Hmmm, I changed it and while some things are happening and it's like not loading really responsive anymore it still loads bootstrap-modified.css and no foundation files at all.

Do I need to make more changes somewhere else?
andrew replied on at Permalink Reply
andrew
That's not really how it works. What this means is that you can build your own theme using the foundation framework, and include it in your theme, and when you do so you'll be able to specify that your theme uses the foundation grid framework using the code documented here

http://www.concrete5.org/documentation/developers/5.7/designing-for...

We don't actually include foundation's css or anything in the core – that's up to a theme developer. But they will be able to easily include support for the foundation grid with their theme, since it's that grid framework is now included in the core.
Kiesel replied on at Permalink Reply
Okay, got it. Thank you Andrew for the clarification.