Download & Extend

Edit a .tpl in order to alter page structure.

Project:Omega
Version:7.x-3.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

Comments

#1

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.

#2

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.

#3

Thanks @Cellar Door

nobody click here