This forum is for assistance with theme development.

fonts pixelated in Internet Explorer

I've just noticed that our sites do not look write on Internet Explorer. The bigger words look pixelated.

Two DIV's floated in the node contents interfere with the node footer

I'm developing a Page with PHP code. I've got two DIVs, which need to be side-by-side, so I float the both to the left (in the CSS, I use a "float: left"), which works GREAT. the problem is that now the node footer (which contains the author of the Page, as well as the various links to comment on it, etc..) shows up beside the DIVs, instead of below it. If I un-float the two DIVs, it puts the footer below the two DIVs, but then the DIVs are not side-by-side. How can I solve this? Here's a breakdown of the PHP in the Page:

Question regarding CSS and user registration

Hello,

I've got a question regarding how to go about customizing CSS for the custom forms' categories that I created for my user registration page.

I spent quite a bit of time tweaking the "blix" template to get it just the way I need it...except for this LAST piece of CSS.

Could someone please point me into the right direction on how to make the form's categories titles bold and increase the font size.

Theming custom module

Hi,

I'm developing a custom module. I have found this useful article about overriding theme functions. http://drupal.org/node/11811. It's working correctly for theme functions already in the drupal theme system. For example: theme_item_list();

The problem is: I have wrote my own code, but it seems drupal does not recognize it like a node theme:

function phptemplate_esorg_item($items = array(), $title = NULL) {
  return _phptemplate_callback('esorg_item', array('items' => $items, 'title' => $title));
}

I've wrote my template file: esorg_item.tpl.php

<div class="node<?php print ($sticky) ? " sticky" : ""; ?>">
  <? foreach ($items as $item) {?>
    <? print $item?>  
  <? } ?>
</div>

...and from my custom module I call the theme like this:

  $items = Array("Test1", "Test2", "Test3");
  print theme("esorg_item", $items, "Test page");

The output I get, when I navigate to my module in a webbrowser is:

  <div class="node">
  Test1  Test2  Test3
      <h2><a href="" title="Test page">Test page</a></h2>
    <div class="node-content">
     </div>
    </div>

So as you see, there is missing the full page template html code. It seems drupal recognize my module as a page template, like: page.tpl.php, but I would like to use my theme function output as a node.

If I modify the theme_item_list(); (or any other that is already in drupal) functions, like in the article, it is works correctly, but as I change the name of the theme function it is not.

Help with <code>, Themes, and CSS

I have been spending a lot of time the past couple of days modifying the bluemarine theme to my use. Things where going sooo well and I've been tweaking things to make it perfect. Then it broke.

The first issue is relatively minor: When I post blogs with < code > tags in them the font is very small. Also, it used to be shaded differently; but now it just appears white. I'm having difficulty identifying the .css tags for this attribute. I would love some help.

Also, and this is more serious and has me completely stumped: Now that I've made the theme changes, whenever I click on Logoff, or try and Logon (or change any setting) I come to a blank page. If I then go back to the home page I find that whatever action I took did in fact happen. The following error is displayed:

    * warning: Cannot modify header information - headers already sent by (output started at /home/webcdic/public_html/themes/webcdi/template.php:15) in /home/webcdic/public_html/includes/common.inc on line 233.
    * warning: Cannot modify header information - headers already sent by (output started at /home/webcdic/public_html/themes/webcdi/template.php:15) in /home/webcdic/public_html/includes/common.inc on line 233.

. Also, when I go to AcidFree the page is blank IF I'M Logged on. If I try as an anonymous user I can see the photo albums just fine. When I change back to the original bluemarine theme everything goes back to working fine. I wouldn't have expected this behavior in a theme and I'm really confused.

Burnt theme screwing up profile view

Hi,

Iam trying to use the burnt theme,

I got it running and it seems damn good, I really like it. I made some changes to the theme, so that our content is properly displayed.

But I just observed thaat the whole view of user profiles got screwed because iam using this theme

Can someone help me in setting it rite..

PS: I have a very big profile and please dont suggest me to write a customized profile. (I already tried it)

Pages

Subscribe with RSS Subscribe to RSS - Theme development