View Full Version : How do I make the news title <h2>BIG</h2>
I'd like the news title to show up big like this...
Test news article! (Electronics)
June 29, 2006
Print Email
This is a test news story about nothing. bla bla bla This is a test news story about nothing. bla bla blaThis is a test news story about nothing. bla bla bla This is a test news story about nothing. bla bla bla This is a test news story about nothing. bla bla bla This is a test news story about nothing. bla bla bla This is a test news story about nothing. bla bla bla
Read More...[/b]
Anyone know where I should edit to make this change? I have it set up so the Article title is a Link also, so it will need to override the style.css link default.
My sites coming together really nice! Can't say enough good things about SD and the community. One day I'll actually know enough to give advice also... one day..... :lol:
Man did you see what the title does to the latest news plugin? Looks like a bug.
72dpi
06-30-2006, 02:23 AM
yeah.
I think that may be a security issue. perhaps html should be stripped when uploading heh heh....
Mighty_Mouse_2006
06-30-2006, 02:24 AM
Yes, it does.
<div class='quotetop'>QUOTE(IGGY @ Jun 29 2006, 07:11 PM) 7347</div>
Man did you see what the title does to the latest news plugin? Looks like a bug.
[/b]
LOL whoops
abcohen
06-30-2006, 03:22 PM
wow, who would have guessed... (well now we know - and knowing is half the battle - the otherhalf usually involves fixing what we didnt know)
<div class='quotetop'>QUOTE(abcohen @ Jun 30 2006, 08:22 AM) 7363</div>
wow, who would have guessed... (well now we know - and knowing is half the battle - the otherhalf usually involves fixing what we didnt know)
[/b]
So does anyone know how to make the news title larger?
<div class='quotetop'>QUOTE(abcohen @ Jun 30 2006, 08:22 AM) 7363</div>
wow, who would have guessed... (well now we know - and knowing is half the battle - the otherhalf usually involves fixing what we didnt know)
[/b]
Which I will fix right away.
abcohen
06-30-2006, 10:21 PM
well I guess you could A) look at the news plugin code that does the display to add some type of div around the title B)
manually add a div bracket each time you place a title so you could have different div styles for different categories or stories...
Ok here is what I did and it will work perfectly with the news plugin, same thing will need to be done to the "latest news" plugin to make all the same..
Find this code in the news.php file
** {
****************echo '<b>'. $article['title'] . '</b><br />';
****************$displaylinebreaks = true;
********}
Change it to something like this: (making the font size whatever size you want.
** {
****************echo '<b><font size="4">'. $article['title'] . '</b></font><br />';
****************$displaylinebreaks = true;
********}
I have not tested it yet on the "latest news" plugin but am doing that now. :lol:
And to make the "latest news" plugin match your "news" plugin title size...
open up your p3_latestnews/latestnews.php file
got to line 137 and find this
$boldtitlestart = $boldtitle ? '<b>'**: '';
**$boldtitleend** = $boldtitle ? '</b> : '';
replace it with this:
$boldtitlestart = $boldtitle ? '<b><font size="4">'**: '';
**$boldtitleend** = $boldtitle ? '</b></font>' : '';
and change the font size to your liking... now all new and old news stories will carry that font size. NOTE: This will work only if bold titles is selected in your latest news plugin configuration
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.