In Omega 3.x, you could force a region to be rendered even if there wasn't content placed into it.

What is the process for setting this in the Omega 4.x branch, as when I disable the Demo Omega setting, I lose my Branding Region which I would like to force to be rendered?

Thanks!

Comments

shruti.sheth’s picture

Hi,
Please note, branding region

<div class="l-branding">
      <?php if ($logo): ?>
        <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" class="site-logo"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" /></a>
      <?php endif; ?>

      <?php if ($site_name || $site_slogan): ?>
        <?php if ($site_name): ?>
          <h1 class="site-name">
            <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
          </h1>
        <?php endif; ?>

        <?php if ($site_slogan): ?>
          <h2 class="site-slogan"><?php print $site_slogan; ?></h2>
        <?php endif; ?>
      <?php endif; ?>

      <?php print render($page['branding']); ?>
    </div>

is always forced printed in any of the three default layouts available in omega4.4 - simple layout, divine-layout or off-canvas layout. Irrespective of whether custom logo is uploaded, sitename or site slogan added it will always be rendered. If you have created any custom layout, please copy the branding region markup as above in your tpl file. Hope this helps !

Thanks,
Shruti Sheth

steinmb’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.