This forum is for assistance with theme development.

Which variable passes the the category path?

I understand that $terms gives me the title of the category including the link, but which variable gives me just the path, without the link. I want to attach it to an icon in my theme. Thanks!

Load different stylesheets based on user's browser Possible?

I have noticed that certain fonts render differently in IE compared to Firefox. I would like to modify the definition
of one core element of my stylesheet (the "body" definition "font:..." line) depending on whether the user is using IE or any other browser. I consider this an attempt to work around an IE specific bug.

Can it be done? If so, how ?

Mike

PS: Installed drupal a week ago, and I *love* it. Using it for one workk related site at the moment, and if this is a success, I'll re-do three other sites to use it.

Block width won't expand

I have built up a theme and it seems to be almost complete, however the blocks won't echo out correctly.

I have added this to my block.tpl.php page:

  <h2><?php print $block->subject ?></h2>
  <?php print $block->content ?>

and thats all thats in that file, however the blocks still take up very little of the actual column width I have allowed them and I cannot seem to get it working. Does anyone have any suggestions?

Changing the default admin colours etc.

I have recently managed to transfer my existing theme over to drupal. However the theme uses dark background colours so the bullet points are pratically invisible and the grey used for the admin menu boxes and tabs is hard to read from and just looks rubbish.

How do I overwrite the defaults with only the one CSS file for my theme?

Node type in Chameleon

Hello.

How to make a custom layout for a node type in Chameleon theme for 4.5? Say I want to avoide displaying of teasr or something like that. You may check: www.kaem.ru/spo which is filestore actually.

Previously I used something like this:
function chameleon_node_file($node, $main = 0, $page = 0)

But now it does not wor somehow. What's wrong?

Is there a way to alter the size of multiline forms?

I am looking for the correct css code to make a custom size for multi-line forms. This is particularly for private messaging and user profiles to make it look best for my theme. Any Suggestions?

Pages

Subscribe with RSS Subscribe to RSS - Theme development