Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Drupal provides same header for the whole site and if we want to theme all the nodes individually then it’s a bit complicated process. While looking for alternatives to this, the following snippet work fine, this has been implemented in www.vinrcorp.com you can see the example before using it. The usage of the snippet is also quit simple just put this code into the header part or where ever you want, of page.tpl.php file of your theme.
To use it just put images in the image folder and mention the path in the code and also replace the names of images as per the node ids. This will help you to display different banner images for different nodes.
I think you can use it and this works for you too. You can reply to this post for further help.
Fairly new here, working on a theme. I cannot figure out where the horizontal line that is going across the middle of the header in BlueMarine is coming from....is it a border? image? two divs not lining up?
I believe it is in the middle of the $header content that is the 2nd row of the header table. I've scoured the css and just can't figure it out. Where is $header constructed and what css does it use? Any chance one of you CSS experts know where this mysterious line comes from? ('cause I want to KILL IT)
This Multiflex theme does not seem to have a place for a HEADER BLOCK in it and I wish to have one that extends across all three columns. Can someone out there look at the code and tell me where and what I need to edit as well as what code to insert in order to make this happen?
Thanks!
I have spent a long time theming a complex cck content type, and I would love to have a printer-friendly view that just removed all the navigational elements, much like the printer-friendly module does.
Unfortunately, that module doesn't seem to know about the node-contenttype.tpl.php file at all. It prints the data label with plenty of unwanted space followed by the field contents.
Hi !
I wonder how to put all the comments and the "add a comment" link in a collapsible fieldset ?
Could you tell me in wich file do I have to specify that please ?