Re: [Tiki-users] Changing font appearence of string produced by display control blok

Jonny Bradley via TikiWiki-users <[email protected]>
Newsgroups gmane.comp.cms.tiki.user
Message-ID <[email protected]>
Hi Alessandro

Best way to do this is with a span or a div using a bootstrap class, so try something like

    {DIV(class="h2")}{display name="tracker_field_macchineTipoMacchina_text"}{DIV}

for text the size of an H2 heading (and bold).

Or for really big try "jumbotron"?

    https://getbootstrap.com/docs/4.5/components/jumbotron/

More here https://getbootstrap.com/docs/4.5/content/typography/

jonny



> On 31 Dec 2020, at 10:50, Alessandro Martinelli <[email protected]> wrote:
> 
> Hi all,
> 
> Is there a way of changing the font size of a string displayed by means of display/output/format control block?
> 
> So far it seems to me the only way is by using smarty templates (http://doc.tiki.org/PluginList-advanced-output-control-block). Is it possible to change the font size using wiki syntax alone?
> 
> Example code:
> 
> {LIST()}
>   {pagination max="1"}
>   {filter field="tracker_id" content="19"}
>   {filter field="tracker_field_macchineTipoMacchina" content="{{itemId}}"}
>   {OUTPUT()}
>     {display name="tracker_field_macchineTipoMacchina_text"} <-- string for which I'd like to increase font size
>   {OUTPUT}
> {LIST}
> 
> Thank you
> 
> 
> 
> _______________________________________________
> TikiWiki-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.