Content Styling
Permalink 1 user found helpful
Hi, Attatched is a screenshot of how id like to format my content, I have created 3 styles in my css sheet (h1,h2,h3) but in TinyMCE when I highlight a line and click Heading 1 to format it the whole content is formatted where as I want it to format just a specific the highlighted line. What is the best way to format the content the way id like it?
Thanks
Jack
Thanks
Jack
Forgetful! Screenshot now attatched.
you need to have it in your typography.css for tinymce to use it
I'm going to go out on a limb here and say that perhaps you copy/pasted the content into the editor straight out of Word?
Delete the content, type it in, don't paste it, then assign the appropriate header.
When you paste, it pastes the code from Word into the editor creating line breaks instead of new paragraphs, etc. Therefore the whole thing is formatted instead of the appropriate lines.
Delete the content, type it in, don't paste it, then assign the appropriate header.
When you paste, it pastes the code from Word into the editor creating line breaks instead of new paragraphs, etc. Therefore the whole thing is formatted instead of the appropriate lines.
I first tried with pasting from word, then I also tried typing it out with no success. The reason it was formatting the whole lot was because I was using shift and enter to start a new line instead of just enter, I was doing this so there was no space between the lines. Now realising that was why the whole lot was being formatted I have used enter for a new line and used margin:0 in the heading css to remove the unwanted spacing. :D
Thanks for your help.
Thanks for your help.