Adding Specialized Elements to Author Mode CSS
Posted: Fri Aug 28, 2015 7:41 pm
Hi there,
I have a few specialized elements that I'd like to show up correctly in Author Mode and I'm having a bit of a hard time getting it to work.
We are using emphasisBold and emphasisItalics instead of <b> and <i>. I've added those to topic.css but they still aren't working correctly. I think part of the problem is that these were both specialized from <ph> rather than <b> and <i>.
Here's what I'm adding to topic.css:
Another element I've specialized is already working but that's because it's based on <cite>; it shows up as italics which is exactly what I want it to do. Do you have any suggestions about what I should do to get this to work?
Thanks!!
Peyton
I have a few specialized elements that I'd like to show up correctly in Author Mode and I'm having a bit of a hard time getting it to work.
We are using emphasisBold and emphasisItalics instead of <b> and <i>. I've added those to topic.css but they still aren't working correctly. I think part of the problem is that these were both specialized from <ph> rather than <b> and <i>.
Here's what I'm adding to topic.css:
Code: Select all
*[class~="topic/emphasisBold"] {
display:inline;
font-weight: bold;
}
*[class~="topic/emphasisItalics"] {
display:inline;
font-style: italic;
}
Thanks!!
Peyton