This forum is for assistance with theme development.

Problem with white space in the header div

Hello everyone,

I am having a problem using a table inside the header div to display the images for my header. There is white space between each td and i don't know what is causing this. I have cellpadding and spacing set to 0 and there is not space between the img tage and the td tag. Has anyone had this problem before if so how did you fix it. Thank You

Commenting problem on theme

I'm working on a port of a theme to Drupal (first time) using the PHPTemplate engine. I've got everything working, except that the form for commenting stretches over half the page. None of the other forms do this, and there's nothing in my comment/page template that would make this happen. . .is there any way I can define the width of the comment box?

printing node author name in comment.tpl.php

Y'all will probably think i'm smoking crack for asking this. Has anyone ever printed the node authors name within a comment template? I'm suspecting that $node->name doesn't work because it's not calling the phptemplate_node() function when generating comments. I've tried phptemplate_node($name) and some other things too.

anyone got links to more Drupal 4.6.x themes?

is there any site offers a collection of drupal v4.6 themes ? i saw all the themes in the themes section here in drupal.org but i didn't find a good one... is there any other sites offering drupal themes?

thank you

Q: Show blocks on only certain pages?

With the left and right sidebars I am able to show blocks on specific pages like /products* . I am wondering if I can still do something like this when I insert a block that is not located on the left or right sidebar. If I use the code:

$block = module_invoke('block', 'block', 'view', 4);
print $block['content'];

Is it possible that I can still make this only show on my products pages? Is there some type of thing I can add that uses the "Page specific visibility settings" in the database?

Thank you!

Tabs without images

Hey --

If you plonk an unordered list into Primary Links using Themes > Configure, and add the following to style.css on Bluemarine, it formats the tabs quite nicely (bar a few pixels out here and there).

It works fine in Firefox, but IE is another matter: the whole list is shifted left, right margin starting in the middle of the page ... am I missing something here, or approaching this incorrectly? I'm only interested in the creating a simple "tab-style" nav without the active/non-active distinctions. I also don't want to dig too much into the template code.

Pages

Subscribe with RSS Subscribe to RSS - Theme development