How to add a class to a block

Permalink
I have searched everything, but can't find it. Sometimes you want to add a class or id to a block. Previous you could do it through clicking on the block and choose design/css. In 5.7, I can't find it. I can choose a style (where to defind those styles?) or a custom theme. But that is way to big for what I want. Just to add a class is enough.

Thanks!

annekeh
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi annekeh,

You can add block classes in page_theme.php.

http://www.concrete5.org/documentation/developers/5.7/designing-for...
annekeh replied on at Permalink Reply
annekeh
Yes, thanks for the link, one question answered. But that is not fast working. Before I just click on the block, and add a class. Now I first have to edit page_theme.php and then add it to my block. It seems like double the work. I get it, it is simpler if you have many pages and need to use that class on more pages. But if that is the case, I will change it in my template.
I used it for fast custom styles, many times I only use it for one instance on the whole website.

Ok, probably another thing to get used over...