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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Foundation Small Header Segment


Go to End


2 Posts   849 Views

Avatar
ssguest

Community Member, 7 Posts

13 September 2015 at 3:47pm

Edited: 13/09/2015 3:50pm

Why does this Foundation code doesn't work when entered in Silverstripes' HTML Editor?

<h4><small>Some Text<small></h4>

$ThemeDir does not work either when entered inside the HTML Editor

Avatar
martimiz

Forum Moderator, 1391 Posts

15 September 2015 at 5:31am

$ThemeDir is for use in template files. The HTML editon doesn't support the use of template variables.

There is a slash missing in your closing tag for 'small'. Besides that, the HTML editor will strip tags that are excluded in the settings (don't know off the top of my head if small is included though)