Content block custom styles?

Hello, I have an old theme from the previous C5 version with a typography.css that contains classes which the content block could apply to pieces of text.

One of these for example:
.header-style {
  font-size: 19px;
  color: #000066;

However, When I highlight the text in the content block 5.7 doesn't seem to pick it up and it's not in the list. The only option I get is "Remove Style".

I've searched but I cannot find a fix, any help would be great.

View Replies: View Best Answer
MrKDilkington replied on at Permalink Reply
Hi hdocwra,

5.6 themes do not work in 5.7 without being modified. There have been many changes to theme creation. Too many to cover in a single message.

Check out these links
hdocwra replied on at Permalink Reply
My theme works fine without any problems other than the one highlighted.

5.7's content block doesn't pick up typography.css styles.
MrKDilkington replied on at Permalink Best Answer Reply
There is no typography.css in 5.7 anymore.

Custom typography styles are created in your CSS and made available to Redactor (the rich text editor) through page_theme.php.

The second link I posted shows how to add custom styles to page_theme.php.
hdocwra replied on at Permalink Reply
Thanks, now that I actually read it properly I understand.

You sir are a genius.