Layout custom class

Permalink
Hey

I want to assign a custom class to coloumns that i generated within an area.
For areas i know that the code within the page_theme.php is:

public function getThemeAreaClasses() {
        return array(
          'MyAreaHandle' => array('MyClass')
        );
    }


but how do i get the Handles of the couloumns that i created within an area?

Thanks for the help!

 
jakobfuchs replied on at Permalink Reply
jakobfuchs
As far as I know you can assign the custom classes you create for an area also to the grid columns inside that area. There were some changes in the latest release so not 100% sure if that is still the default behavior.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@micondude

If I understand your question correctly, I believe you might want to look at the new preset layout feature in 5.7.5.
https://www.concrete5.org/documentation/developers/5.7/designing-for...

This forum post includes additional preset examples and explains some of the new ways to add classes to layouts.
http://www.concrete5.org/community/forums/5-7-discussion/5.7.5-docu...