Answer the question
In order to leave comments, you need to log in
How to move title from common region to one of fields in drupal 7?
At the moment, the output of the page looks like this:
Need to move h1 under the first field-name-field-img I'm working with an omega 3.x
theme that has an overridden template: region--content--article.tpl.php
<div<?php print $attributes; ?>>
<div<?php print $content_attributes; ?>>
<?php if ($tabs && !empty($tabs['#primary'])): ?><div class="tabs clearfix"><?php print render($tabs); ?></div><?php endif; ?>
<?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
<?php print render($title_prefix); ?>
<?php if ($title): ?>
<?php if ($title_hidden): ?><div class="element-invisible"><?php endif; ?>
<h1 class="title" id="page-title"><?php print $title; ?></h1>
<?php if ($title_hidden): ?></div><?php endif; ?>
<?php endif; ?>
<?php print render($title_suffix); ?>
<?php print $content; ?>
<?php if ($feed_icons): ?><div class="feed-icon clearfix"><?php print $feed_icons; ?></div><?php endif; ?>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
you need to remove the title from region--content--article.tpl.php and display it in the node template in the right place
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question