How would i add a div with a class in the content section of the theme?
thanks

Comments

Anonymous’s picture

Title: add div in content » add div in zones section in template

how would i add a div in zones section in template? i need to for design customization reasons.

Cellar Door’s picture

Title: add div in zones section in template » Edit a .tpl in order to alter page structure.
Priority: Major » Normal

To add a div to a zone or a section you need to duplicate any of the .tpl files located in either Alpha or Omega and place into your subthemes templates folder. Then modify and add the

you need. Flush the caches and the div will appear.

You may want to look at the folder alpha/templates/page.tpl.php

Also in your subtheme settings you may add a class directly to the zone or region directly if needed.

carajito’s picture

Thanks @Cellar Door