Styles Dropdown Menu in Content Block

Permalink
What is the functionality of the "Styles" drop down menu in the Content block editor supposed to be?

I thought I could add certain styles to my CSS and my client could select them and apply them within the content but it's not working for me.

Please help.

Suzy

suzykaploozie
 
andrew replied on at Permalink Reply
andrew
CSS classes added to typography.css should show up in this file. However, it's a little finicky sometimes. I've found that it works best if you make it a global CSS class (so, just a style item with a dot in front of it.)

Like..

.headline {font-size: 18px;}

In typography.css

should show up in the Styles menu (you may need to clear your cache or even restart your browser.)
suzykaploozie replied on at Permalink Reply
suzykaploozie
This is perfect. I love this community.
mario replied on at Permalink Reply
mario
i think they'd be particularly useful for clients who want to add a bit of breathing room to inline images.

as in:

.padImageRight { padding-right:10px; }
.padImageLeft { padding-left:10px; }


-mario
Remo replied on at Permalink Reply
Remo
there's even a tutorial about this:
http://www.codeblog.ch/2009/05/concrete5-css-features/...
SteveAtParadigm replied on at Permalink Reply
The tutorial helped a lot! Here's some other stuff I learned that wasn't in the tut:

The classes in typography.css only affect the editor, so they must duplicated in main.css in order to work on the actual website.

Also, typography.css should be in the root theme folder; not a subfolder.