Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi,
When editing TEXT, the options available are p, h1, h2, h3, h4, h5 and h6. How can I add an additional new style option which I can access and apply when typing in Visual Editor?
Thanks, Noel.
Hi Noel
Thanks for reaching out.
This question is unfortunately a little beyond what we’re able to assist with. I’m not sure if you can extend the Black Studio TinyMCE (Visual Editor) widget. It’s something you could perhaps ask Marco on their support page:
https://wordpress.org/plugins/black-studio-tinymce-widget/
Hi Andrew – lets try this from another angle!
When adding TEXT using Visual Editor, how can I modify the font (colour, size etc.) without it universally affecting every instance of that style (e.g. style) across the complete website? In other words, can I create an new Font Style and use that style when entering text?
Thanks, Noel
Sure. The easiest way I can think of is as follows:
1. Appearance > Custom CSS. Setup your text class:
Then edit the Visual Editor widget in question and click the Attributes tab top right and insert your class name into the first field, minus the period:
my-custom-class can be changed to any class name you’d like.
Hope that helps.
Thanks Andrew – that was really helpful and it worked.
However, the style is applied to ALL text in the Visual Editor Box. Is it possible to apply the style to a paragraph ONLY?
Thanks, Noel
Definitely. Pretty similar, just remove the class from Attributes and insert it using the Text tab of the widget:
OR if you want to get a little ninja with it. Leave things exactly as they are and go to Appearance > Custom CSS and change your class to:
Where 2 is the second paragraph in the cell. Ref: http://www.w3schools.com/cssref/sel_nth-of-type.asp. Might not be suitable but pretty cool stuff either way.
Thanks Andrew – very clear instructions and it worked perfectly.
Thanks again, Noel
Awesome :) Glad to hear that did the trick.
All the best. Cheers for now.