cancel
Showing results for 
Search instead for 
Did you mean: 

change size of a part of the text of a title in webi

pamarque
Participant
0 Kudos
362

Hi Guys!

I wanted to know if it is possible to change the size of part of the text of a title of a webi report.

That is, configure that part of the text is of one size and the other part of another size.

In the configuration of the format of the text cell it only lets you change the size of all the text, and I have tried creating a format rule, but it also changes the size of the text of all the content of the cell.

BR,

Patricia

View Entire Topic
nscheaffer
Active Contributor
0 Kudos

You can do this with some HTML code. I am not a web programming expert; so I cannot answer too many questions about this. Here is what I used as a reference, specifically "Change Font Size Within the Same Paragraph."

I created a simple sales report based on the eFashion universe for a specific state. Here is my formula for my standard looking report title...

=ReportName() + " - " + [State] + " - back to normal font size"

So I have this...

If I update that formula to be wrapped in an anchor element with a span element I can then define all sorts of inline exceptions.

="<a>" + ReportName() + " - <span style='font-size: 36px'>" + [State] + "</span> - back to normal font size</a>"

That will give me this...

Now I just need to change the Read content as property from the default of "Text" to "HTML"...

And there you have it...

Noel