This forum is for assistance with theme development.

blocks horizontal

Hi all, i want to change my current lay out a bit for some new blocks on the website..,but i want the new blocks in the new region align horizontal ...

like this: (good)
block1 block 2 block 3

(bad)
not like this:
block 1
block2
block3
----------------
now i only want to effect the blocks in the new region and not the other ones.., in the code beneath i want to align all my blocks horizontal

Help with line height

please help me have a look at this
http://mahlove.com/86
the line height is overlaped and people can't read it. i think its some problem with css, i can't figure it out. please help me.

sarath

Override $left

I just installed Drupal today, literally 2 hours ago. After playing around with making a template, all is going well. Only question is, is it possible to override certain elements such as $left?

I tried poking through the documentation but it is all a bit overwhelming right now.

Right now, on my $left column I have the user login information. I don't quite like the way this is layed out. I was thinking of moving the text around, and having "Register new account" moved around.

Cheers

Newbie theming teasers in views

Hi Everyone -

Am trying to theme my first view - a series of teasers in a block. Have been through the documentation and the dojo and am confused about what stuff goes where. I get the impression from what I've read that theming teasers is supposed to be easy, but I'm missing a few key pieces of puzzle that people just seem to know.

Help theming with a taxonomy-based body class

Hey folks. I'm trying to change a few things on my site using CSS based on the section being viewed. I am sectioning off my site using taxonomy. I've used the taxonomy theme module in the past, but because I only want to change a couple CSS values, that's very inefficient and difficult to deal with.

After looking for a good solution, I discovered that it's fairly easy to give the body tag a class based upon which taxonomy is being viewed (I grabbed this code snippit from http://drupal.org/node/67587 ). The following code placed in the template.php file accomplishes this basic task:

<?php
function _phptemplate_variables($hook, $vars) {
  if ($hook == 'page') {
    $prefix = ' b-tax-';
  }
  if ($hook == 'node') {
    $prefix = ' tax-';
  }
  if (module_exists('taxonomy') && $vars['node']->nid) {
    foreach (taxonomy_node_get_terms($vars['node']->nid) as $term) {
      $vars['node_terms'] = $vars['node_terms'] . $prefix . eregi_replace('[^a-z0-9]', '-', $term->name);
    }
  }
  return $vars;
}
?>

All I need to do then is add class="<?php print $node_terms; ?>" to the body tag and I have a body class based on taxonomy. Awesome, right?

So here's what I need help with. I know 0 PHP and I'd like to extend this code a bit to include checking for the front page as well as having it hook into pages made with views.

Need News/magazine style Frontpage formatting

Greetings everyone,

I've been working diligently on getting my Drupal site up and running. I'm having an issue getting the Frontpage only design to look as I want it to.

Here's what I know: (Or think I know)

-Created a page-front.tpl.php from the original page.tpl.php file in the theme I'm using. This is so I can make alterations only to the main/home/front page theme when you first enter the site.

-I'm pretty sure I need to use Views or Panels or a combination of both, but I've not found a good starting point or template to go off of.

Pages

Subscribe with RSS Subscribe to RSS - Theme development