This forum is for assistance with theme development.

Remove linebreaks in primary menu HTML code for Internet Explorer fix

Hey all, I am working on developing www.politicsinminnesota.com and right now on PC-Internet Explorer there is a large gap between the items in the vertically-oriented primary menu, and I'm trying to clean it up by removing line breaks from the generated HTML code.

I'm aware there is a separate thread on what appears to be the same problem:
http://drupal.org/node/118632 : CSS unordered list problem - firefox vs. internet explorer
But i am trying to find a different solution. Namely i would like to get the menu UL unordered list to render without linebreaks per item, because apparently going like <li>item</li><li>item2</li><li>item3</li>

all on one line without linebreaks, like this, may forestall IE's rendering problem according to tips I've heard elsewhere. So essentially I think i need to override the menu_item.tpl.php as they talk about on this thread:
http://drupal.org/node/124251 Theming UL into DIV
However I don't really understand how to override theme functions, nor what the menu_item.tpl.php file potentially does. I realize the hooks are here:
http://api.drupal.org/apis/5/theme_menu
and here:
http://api.drupal.org/api/5/file/includes/menu.inc
and more about overrides are here:
http://drupal.org/node/55126
and there is a possibly out-of-date guide to theme overrides here:
http://www.nicklewis.org/node/842

How Do I set a new picture per page in my themes?

I am developing a site for a non profit organization, and I would like to place accent photos the the top level pages of each section. I understand that I can designate a proper space for this in the page.tpl.php file, but how can I go about setting each one so that each photo is set to the appropriate page. If I had to hack a single photo in, I would just place it in the page.tpl.php file, bad drupal coding, but I need it to work. But i have enough time that I am willing to go for a more appropriate and integrated solution.

K2 Theme

I am wanting to add a logo to the K2 theme, which file/s will i have to edit to achieve this?

CSS display woes with non-IE browsers

I'm having some issues that are driving me crazy. I need your help.

I'm working on a redesign, viewable at http://www.lawrenceks.org/drupal/.

Issue No. 1: The search box in the header has a thin, gray line above it which shouldn't be there. It shows up in Firefox and Safari, but not in Internet Explorer.

Releasing a movie - looking for the appropriate theme to build from

I have recently completed a movie. I have a drupal 5 install running here ( pacificallsurf.com ) which is using the default theme. While its a very nice theme, we just need to go with something different.

I am interested to see which movie sites have run using drupal, so I can get an idea of how the public pages are setup. I also want to still push registration / etc because we plan on continuing with the site after the release.

jQuery and Views

Hi there,

Im currently trying to put together a "news" page. The client would like to have a menu at the top of the page with the latest headlines, when you click on a headline the story (as a news CCK type) would fade in below this menu.

Anybody have any ideas how I would go about this?

Initially i'm thinking about setting up a view to display all news items, and then somehow using jQuery to hide and show when clicking on a menu item (which is a views block).

I have done absolutely no jQuery before so this is looking a bit daunting!

Pages

Subscribe with RSS Subscribe to RSS - Theme development