PDA

View Full Version : Theme Request



wolfdogg
02-05-2012, 06:48 AM
I may actually give it a go.. but I'm 2 days into Hotaru right now so a lot to learn, but.. my theme request: news.ycombinator dot com

Any advice on starting.. should I tackle it myself?

I should also say that this CMS is amazing! Loving it!

seekyt
02-05-2012, 09:14 PM
I would recommend tackling it on your own, because this will be very simple to theme if you start with the default template.
header color: #ff6600

body color: #f6f6ef

Font color: #828282

Almost all template work (outside of CSS) would be done in the index.php file inside of your theme folder. Include a statement at the top to make sidebars disappear (unless you want them on some pages).

Hide it on all pages:

<?php $h->sidebars = false; ?>

Or if you only want to hide it on the homepage:


<?php if ($h->isHome()) {
$h->sidebars = false;
} ?>

Or, for multiple pages, but not all pages


<?php if (($h->pageName == 'register' ) || ($h->pageName == 'login') || ($h->isHome())) {
$h->sidebars = false;
} ?>

Then I'd just adjust the font sizes. Almost all of your CSS theme can be edited inside of your style.css file, in your theme's CSS folder.

This is a very simple theme, and a good starting point for a first design attempt, in my opinion. The most difficult part of it might be changing the voting appearance to the simple "up" arrow, and even that won't take you too long to figure out.

wolfdogg
02-07-2012, 06:09 PM
seekyt.. thanks for the tips! I'm going to give it a whirl and see how I do. Much appreciated!