View Full Version : Change News Font Size
Oddmaker
07-09-2005, 11:34 AM
Hi All,
I want to change the News Font size on my main page but how do i do it?
I've actully tried http://www.vbadvanced.com/forum/showthread.php?t=9205&highlight=changing+news+font+size but it didnt do anything at all :(
Any help would do, Thank you.
Brian
07-09-2005, 11:44 AM
Which part of the news specifically?
Oddmaker
07-09-2005, 11:51 AM
The main title.. something like this: http://www.evilavatar.com/
Maybe also colour i could change if thats not to much bother :P
Oddmaker
07-09-2005, 07:04 PM
Ahh well i found out that you have to edit newsbits but im not to sure on what to add via:
<if condition="!$mod_options['portal_news_legacy']">
<tr>
<td class="thead"><a href="$vboptions[bburl]/showthread.php?t=$news[threadid]">$news[title]</a></td>
</tr>
</if>
<tr>
Anyone know on where to put the font size and colour?
Thanks in advanced.
Brian
07-10-2005, 04:44 PM
Wrap your font tag around the $news[title] variable.
Oddmaker
07-10-2005, 06:40 PM
It wont work unless im doing something wrong.. could you paste what i should do Brian? Thank you very much.
Oddmaker
07-11-2005, 02:20 PM
http://www.kamude.hostrick.co.il/news.bmp
See where it says "Fable : Lost Chapters will be on the Mac!" on the news title i need that txt to be a little bit bigger.
Brian
07-11-2005, 02:23 PM
Edit your adv_portal_module_shell template and look for this code:
$mods[title]
Replace it with something like this:
<if condition="$mods['identifier'] == 'news'"><font size="X">$mods[title]</font><else />$mods[title]</if>
Oddmaker
07-11-2005, 03:09 PM
Sorry to be a pain in the ass Brian, but there isnt such a line all i can see is:
<if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong></span></td>
But when i replace that witht he code you gave me i get all sorts of errors :p
Also when i add it as:
<if condition="$mods['link']"><a href="$mods[link]"><font size="8">$mods[title]</a><else />$mods[title]</if></strong></span></td>
All i get is my Online Template txt is in that size. I've also used it in newbits module but no luck there.
Oddmaker
07-11-2005, 03:14 PM
Ahhh haaa i was editing the wrong variable! Thanks Brian!
Ogmuk
10-13-2006, 05:42 PM
This is what I was looking for. Thanks to search. ;) This is how I changed it to have news look like it looked pre-update:
<if condition="$mods['identifier'] == 'news'"><else /><span class="smallfont"></if><strong>$vba_style[portal_blockbullet] <if condition="$mods['link']"><a href="$mods[link]">$mods[title]</a><else />$mods[title]</if></strong><if condition="$mods['identifier'] == 'news'"><else /></span>
Removes the class smallfont from the news topics.
molezas
03-09-2007, 05:28 AM
Just two questions:
1. How can I change it (the title font) and it shows that way to no-logged users? It seems to work only to logged-in users.
2. I made that changes, it worked to main column titles (and other too, like "archive news", in the left column). How can I apply that changes only to the main column (the main, central column)?
Thanks in advance
PS: I'm using CMPS v2.2.1 with vB 3.6.5
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.