How can I remove all these div's around content (<div id="node-1" class="node clear-block"><div class="meta"></div><div class="content">)? And is there any universal solution for removing tags around any block (e.g. primary links)?

I'm using my own theme, made using this tutorial (and have two files in it: page.tpl.php and info-file).

It's my first day using Drupal.

Comments

larowlan’s picture

Hi
*Copy node.tpl.php from your /modules/node folder into your theme folder.
*Flush theme registry so new template is registered by either
**Using the flush caches menu item from the Drupal menu in the admin menu (requires admin_menu module - if you don't have this module then I'd get it - one of the best)
**Using the clear cache button at admin/settings/performance
*Edit the node.tpl.php in your theme folder as required to add/remove divs

Welcome to Drupal

Lee Rowlands

--author="larowlan <larowlan@395439.no-reply.drupal.org>"
profc’s picture

It works. Thanks a lot!