Working with the 'newspaper' theme, two questions

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
angelcitysdevil
Posts: 4
Joined: Fri Apr 20, 2007 2:29 am
Contact:

Working with the 'newspaper' theme, two questions

Post by angelcitysdevil »

Hey there!

I have just switched to the 'newspaper' theme and I love it. I have altered the CSS to the best of my ability but can't figure out two final things:

1. I want the content (entries) of the main page (www.angelcitysdevil.com/serendipity) to be the same width and layout of a specific entry archived page (example: http://angelcitysdevil.com/serendipity/ ... ovich.html) but i cannot find where in the newspaper style.css to change that....

basically, i want the main page of my blog to include both the left and right sidebars without having the extra-wide content/entry area to have to scroll right through...

2. I can't seem to figure out how to get rid of the title/header under my custom html banner. At www.angelcitysdevil.com/serendipity, you will see that the very top includes my custom graphic banner. Immediately under it is my blog's title and a headline which I DO NOT need, yet I can't figure out where in the newspaper style.css to remove it.

Thanks soooo much!!!!!
_____www.angelcitysdevil.com______
----making fun of Sin in Hollywood-----
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Working with the 'newspaper' theme, two questions

Post by garvinhicking »

Hi!

Phew, I believe you can't easily make that via CSS, but need to use Smarty templating instead and edit the "entries.tpl" or "index.tpl" files. Then use {if $is_single_entry} statements to like remove the sidebars etc.

More info can be found on the templating section in the www.s9y.org wiki, or by searching the forums. Prepare for some digging. :)

(Note that you might need to copy the index.tpl/entries.tpl template file from the 'Default' theme folder to your directory first. And since you'Re using the newspaper theme, that one is still using old serendipity mechanisms. It might need to be converted to a proper smarty template file first!)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply