1 marmalade_kat Oct 05, 2007 15:06
3 marmalade_kat Oct 05, 2007 16:30
Afwas wrote:
The code you are lookung for is in _main.php in the ../mlogs/skins/naked_bob/ folder:
<?php $MainList->date_if_changed( '<h2>', '</h2>', '' ); ?>
Probably it's twice in the file. You can remove one of them. You can change the size through the <h2> tag. <h3> is smaller and <h1> is larger.The code for the post title is similar to this:
<h3 class="bTitle"><?php $Item->title( '', '', true ); ?></h3>
Once again you can change the size by changing the <h3> tag.Good luck
Hey Afwas :D
Changing the post title size worked great. Thanks.
But the date, I'm confused on.
mine reads:
$MainList->date_if_changed(); // display post date if it changed
Which part of this should I change?
I was confused and so I took out the date_if_changed() and the sky fell on my head. So I put it back in. But when I removed the // display post date if it changed nothing happened.
Am I looking in the wrong place?
4 marmalade_kat Oct 05, 2007 19:22
Nevermind. I came across an answer by accident with a bit more poking around.
I think I eventually ended up with this.
// $MainList->date_if_changed();
The result was that it completely removed the first LARGE date without making the sky fall on my head.
What are the little // for?
Thanks.
5 austriaco Oct 06, 2007 15:23
It's a comment. The remainder of the line will be completely ignored by PHP. It's like it didn't exist at all.
Instead of removing completely the date, you can change the paramenters:
$MainList->date_if_changed('<h3>', '</h3>');
Or whatever else you want to add before and after the date (first and second parameter of the function).
6 marmalade_kat Oct 06, 2007 17:52
cool :)
thank u Austriaco
The code you are lookung for is in _main.php in the ../mlogs/skins/naked_bob/ folder:
Probably it's twice in the file. You can remove one of them. You can change the size through the <h2> tag. <h3> is smaller and <h1> is larger.
The code for the post title is similar to this:
Once again you can change the size by changing the <h3> tag.
Good luck