INTERACT FORUM

Windows => Third Party Plug-ins, Programs, and Skins => Topic started by: greatgreyowl on February 13, 2015, 06:25:53 pm

Title: Font Size in Noire Viz Track Info visualization
Post by: greatgreyowl on February 13, 2015, 06:25:53 pm
Trying to change the font size of the Comment line in the Noire Viz track info visualization. Have created a new folder, copied over all the files to the new folder and made the change below to the file Notes.html. The font is not changing in Display View though. Either my syntax is wrong or I am changing it in the wrong file?
<td class="trackb" valign="top"><fontsize="40">TRACKINFO_INSERT_COMMENT</td>
Title: Re: Font Size in Noire Viz Track Info visualization
Post by: nelsonhf on February 27, 2015, 03:42:48 pm
You probably should be using styles. I also modified Noire and my files look like:

index.html:

Code: [Select]
<tr><td colspan="2"><span class="artist">TRACKINFO_INSERT_ARTIST</span></td></tr>
<td class="fieldValue" valign="top">TRACKINFO_INSERT_PN_POSITION <span class="smaller">of TRACKINFO_INSERT_PN_TRACKS</span></td>


main.css:

Code: [Select]
.artist
{
font-size: 35px;
font-weight: bold;
color: silver;
padding-left: 4px;
padding-right: 4px;
}
.smaller
{
font-size:75%;
font-weight:normal;
}


Of course, there is much more in both files than that, but these are examples of how to set an absolute and a relative size, among other properties.

If you don't already know CSS, the official specification can be found at http://www.w3.org/TR/CSS21/ (dry as any specification, though...)

Good luck!