This forum is for assistance with theme development.

CSS clear problem in IE7

Hi,

I've ran into a problem with my drupal menu on Internet Explorer 7.
I used clear:both; on the li classes to prevent the menu items from overlapping eachother. This worked for me in FF and IE6 but IE7 ignores it. You can see it in action here:

http://www.wearecamping.nl/logopedie/

I've tried some hacks that I found on the internet like

.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

Theme not working?

I'm trying to theme a CCK content type. I've created the new content type called "Subject Guide" and have created a new node using this content type. I've placed the new theme file, e.g., node-subject_guide.tpl.php in my theme directory (e.g., /drupal/themes/bluemarine). However, when I view the node in my browser, it's not reading node-subject_guide.tpl.php. I've tried this with/without a template.php file, and I've tried placing the .tpl.php file in the modules/cck/themes folder, but nothing seems to work.

Print $breadcrumbs in node.tpl.php

How can I print a node breadcrumbs into a node.tpl.php?

When I insert print $breadcrumb; into a node.tpl.php template it only displays "array"

Creating New Variables

I'm working on modifying a theme's PHP variables (I think that's what they're called - I'm not really all that great with PHP, by any means), and basically, I want to make something that will take a series of inputs and turn it into an image and a link. Sort of like this

Only local images are allowed. [title]

that could be entered like...

B7 Theme problems with Primary Menu

I've been using the B7 theme for over a year now and it's worked great except for I've never been able to get the Primary menu to work. When I activate it, all that appears in the Primary menu is "| Array | Array |" etc.

Here's the code in the page.tpl.php file for the B7 theme:

How to add a region

Hi All,
I have read through the handbook and read a guide on how to add another region but the code in my files seems differnt. I am using the Garland theme.
http://www.spainserve.com

I want to add a region directly above the welcome to box but just cannot suss it out.

Could somebody possibly lend me a hand with it.

Thank you.

Pages

Subscribe with RSS Subscribe to RSS - Theme development