Re: [Question] Link and Title color change
Posted by
jsmoraes on
Jun 19, 2014; 9:50pm
URL: https://support.nabble.com/Question-Link-and-Title-color-change-tp7590405p7590520.html
In my forum (
http://astronomia-e-astrofotos.1069742.n5.nabble.com) I change the face font of two topics with override in macro
TOPPICS_COLUMN.
The text of topics are:
Classificados and
Seção de AlbunsI reckon you can change the color of font there, too. With span attributes.
Original code:.
.
.
<n.if.is_app>
<then>
<b><n.node_link/></b>
<span class="weak-color">
.
.
.
modified code:.
.
.
<n.if.is_app>
<then>
<n.set_var. name="txt_nodelink"><b><n.node_link/></b></n.set_var.>
<n.if.contains_substring string="[n.node_link/]" substring="Classificados">
<then>
<n.set_var. name="txt_nodelink"><span style="font-size:1.3em;font-family: 'Faster One'"><n.node_link/></span></n.set_var.>
</then>
</n.if.contains_substring>
<n.if.contains_substring string="[n.node_link/]" substring="Seção de Albuns">
<then>
<n.set_var. name="txt_nodelink"><span style="letter-spacing:0.2em;font-size:1.1em;font-family: 'Fugaz One"><n.node_link/></span></n.set_var.>
</then>
</n.if.contains_substring>
<n.var name='txt_nodelink'/>
<!--<b><n.node_link/></b> -->
<span class="weak-color">
.
.
.
What I do is to format the text of topic and make the page show this formatted text with the code line
<n.var name='txt_nodelink'/>
in spite of the original text from macro node_link called in instruction
<b><n.node_link/></b>
I didn't try, but perhaps the change of color might be with the code line bellow:
<span class="weak-color">
I change the font-face, not font color. And my forum application style is forum, not mixed.
But the idea should be the same, in spite of work with
node_link, perhaps you must work with
span class="weak-color"