Expand my Community achievements bar.

SOLVED

Style in Content Fragments - stopped working

Avatar

Level 7

<p style="line-height:1"><font size="1">Disclaimers</font>
<font size="1">This is not insurance.</font></p>

 

 

Hi all, Some of our folks tell me that they were able to put styling into Content Fragments up to recently.

Then it stopped working, possibly as a result of a SP update ( We are at 6.5.18)

Does anyone know the background of this ?

So far I was planning on telling them to use Markdown instead of Rich Text as  then they have headers to give them different sized text.

(The other option is to have a component with style which can contain a Content Fragment - but they already have used the CFs in hundreds of locations so they don't want to do this.)

Anyone got any other suggestions?

thanks

Fiona

1 Accepted Solution

Avatar

Correct answer by
Level 7

For Content Fragment RTE, I added aem-touchui-font-size-plugin in 6.5.18 and it worked fine.

I just had to add lodash.js to the clientlibs directory and include it in the txt.js file.

This gives you different sized text and text colour/background colour for your content fragments.

 

View solution in original post

3 Replies

Avatar

Correct answer by
Level 7

For Content Fragment RTE, I added aem-touchui-font-size-plugin in 6.5.18 and it worked fine.

I just had to add lodash.js to the clientlibs directory and include it in the txt.js file.

This gives you different sized text and text colour/background colour for your content fragments.