Sign In  |  Cart  |  Join Now

Styles Dropdown Menu in Content Block

July 02, 2009
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

That's what it's for

Jul 02, 2009 at 12:05 PM
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.)
 

Thank you both

Jul 03, 2009 at 3:25 PM
This is perfect. I love this community.
 

useful for image padding

Jul 03, 2009 at 4:57 PM
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
 

css tutorial

Jul 02, 2009 at 2:47 PM
there's even a tutorial about this:
http://www.codeblog.ch/2009/05/concrete5-css-features/...
 

Must add classes to both main.css & typography.css

Aug 26, 2009 at 3:03 PM
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.
 
 

Hot Spots...

ForumsPartners | Contact | Blog

Search site