Page 1 of 1

how to delete TITLES from showing on specific category pages

Posted: Fri May 25, 2007 1:20 am
by jliddy_
examples shown here...

this is my blog as should be displayed-
http://www.loonitic.com/cblog/

my issue is when you click on a specific 'category' from the right side, it will take you to the correct page but with a huge title of the category in font that is shown on top of my blog header image-
visual here:
http://www.loonitic.com/cblog/index.php ... ertainment

how do i make it where no font is overlapping my header image, regardless which page i am on the blog?

and if it isnt too much to ask,
is it possible to switch header images between categories?

thanks for any help you can provide.
im rather new to the whole in depth blog thing

Re: how to delete TITLES from showing on specific category p

Posted: Fri May 25, 2007 1:00 pm
by garvinhicking
Hi!

You can edit the template file 'index.tpl' of your template to change that. Look for the "serendipity_banner" div statement, there you will see variables that are getting emitted there. You can fix that to your blog title in all cases by replacing those variables there. Have a try. :-)
and if it isnt too much to ask,
is it possible to switch header images between categories?
You have mutliple options.

One is to edit the same index.tpl file and add Smarty IF-Checks to see what the variable $category_info.category_name is like:

Code: Select all

{if $category_info.category_name == 'First Category'}
<img src="/pic1.jpg" />
{else if $category_info.category_name == 'Second Category'}
<img src="/pic2.jpg" />
{/if}
and so on. Or emit a different HTML ID that you can access via a different CSS selecetor for serendipity_Banner.

OR you can install the plugin 'Properties/Templates of categories' which will allow you to set your own template per category.

Beware that customization like this is always possible for Serendipity, but at the cost that you need to get yourself familiar with it and try things. :)

Best regards,
Garvin

Posted: Fri May 25, 2007 7:38 pm
by jliddy_
^^^ thank you so much for your insight, i REALLY appreciate the help!!!