Occasionally, I would like to display some text on a blog post in a slightly smaller size (like a footnote). That entails having to switch from the visual editor to the html editor and making the appropriate change.
It would be cool to have a shortcode that would change the displayed size of the text in the published blog post (similar to the message block shortcodes). I have tried to find a plugin that would accomplish this, but haven’t bee able to find anything.
You might want to use the class attribute instead of id for the <span> element. IDs are meant to be unique in a page, while classes are not. Just in case some of your posts/pages need more than one instance of the [small] shortcode.
Plugins: WP Super Edit, WP Super edit theme classes
Adds CSS classes from your themes editor.css file to the visual editor
Installed WP Super Edit and the associated WP Super Edit Theme Classes plugin.â€¨Then you have to go to settings on the left of the WP dashboard > WP Super Edit > Configure Editor Plugins > check the box for Advanced CSS / styles Plugin then go to the Arrange Editor Buttons link at the top and drag the Custom Classes button onto the left side toolbars somewhere.
Then go the file in the theme folder editor-styles > and add whatever styles you want to show up in the drop down for styles to apply using the visual editor.
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
This free Support Forum relies on contributions from our support staffs and fellow Graphene themes users. While we endeavour to provide adequate and timely support, due to its voluntary nature responses are not guaranteed and may be delayed.
If you require urgent assistance, you may like to consider our Priority Support option.