Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba

How can I add CSS ids and classes to content text?


Go to End
Reply


2 Posts   482 Views

Avatar
vodoomoth

Community Member, 22 Posts

31 August 2012 at 4:58am

Hi,

I am using SilverStripe to publish content on my website which is basically a blog. I'd like to format certain bits of text in a specific way so as to, for instance, add a Wikipedia-like external link image to some <a> tags or add a class to <span> tag so that the text can have a dotted underline. For that, I'm used to using CSS.

The problem is that when I enter text on new pages, I don't see anywhere a possibility to switch from the WYSIWYG rendering to a Source rendering in order to edit the HTML tags and add the CSS identifiers that I want to add. I've read the help documentation, including Creating and editing content page but there' no mention of it in there.

Thank you for your help.

Avatar
Willr

Forum Moderator, 5517 Posts

2 September 2012 at 2:45pm