I'm using Omega Kickstart which is a sub theme of Omega. I've added a sitename under site information and saved changes. In my region--branding.tpl.php I have the following:

 <div class="branding-data">
      <?php if ($linked_logo_img): ?>
      <div class="logo-img">
        <?php print $linked_logo_img; ?>
      </div>
      <?php endif; ?>
      <?php if ($site_name || $site_slogan): ?>
      <?php $class = $site_name_hidden && $site_slogan_hidden ? ' element-invisible' : ''; ?>
      <hgroup class="site-name-slogan<?php print $class; ?>">        
        <?php if ($site_name): ?>
        <?php $class = $site_name_hidden ? ' element-invisible' : ''; ?>
        <?php if ($is_front): ?>        
        <h1 class="site-name<?php print $class; ?>"><?php print $linked_site_name; ?></h1>
        <?php else: ?>
        <h2 class="site-name<?php print $class; ?>"><?php print $linked_site_name; ?></h2>
        <?php endif; ?>
        <?php endif; ?>
        <?php if ($site_slogan): ?>
        <?php $class = $site_slogan_hidden ? ' element-invisible' : ''; ?>
        <h6 class="site-slogan<?php print $class; ?>"><?php print $site_slogan; ?></h6>
        <?php endif; ?>
      </hgroup>
      <?php endif; ?>
    </div>

I'm not sure why my site name isn't displaying on the page but my slogan is.

Thanks

Comments

nevets’s picture

There is a setting in Omega to hide the site name, I am guessing it is checked. If you examine the html source for the page do you see the site name (look for site-name)?

carlbowles100’s picture

Hi thanks for your reply. I have checked the theme settings but Site name is enabled. When I view the source code for the site-name I see this:

<h1 class="site-name element-invisible"><a href="/" title="Home" class="active" data-thmr="thmr_70 thmr_71">Media Tech.</a></h1>

nevets’s picture

There is an additional setting to hide the site name which you appear to have enabled.

cfox612’s picture

You can see the class "element-invisible" has been added, meaning there's either a setting you need to tweak or something in the code. If you haven't touched the code it's probably a setting.

jecs89’s picture

You can check the html and css stylesheet.

pdailor’s picture

The additional setting is under "Layout configuration" -> "Toggle advanced elements" -> "Choose from the elements below to hide them via CSS" -> Page title/Site name/Site slogan check boxes.