Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
How would i add a div with a class in the content section of the theme?
thanks
How would i add a div with a class in the content section of the theme?
thanks
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedhow would i add a div in zones section in template? i need to for design customization reasons.
Comment #2
Cellar Door CreditAttribution: Cellar Door commentedTo 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.
Comment #3
carajito CreditAttribution: carajito commentedThanks @Cellar Door