Logo and even built in logo will not appear ,
I tried everything to get this to work, I even upgraded to the lasted dev, and still nothing, what is the fix for this, I tried several others that where posted, but nothing worked, I just cannot get the logo to appear anywhere.

Can someone help here?

Comments

apmsooner’s picture

I've noticed the logo doesn't show when the top bar is enabled....

chrisjlee’s picture

Assigned: mluaces » Unassigned
Category: bug » support
Status: Active » Closed (works as designed)

The default template disables the logo when top bar is enabled. you can turn top bar off top-bar if you need to in theme settings.

AdrianB’s picture

What is the reason behind this? Why would one wan't to hide the logo when the top bar is visible? Is there a conflict between them?

If the top bar is set to only show on mobile then the logo is visible on the desktop and but disappears on mobile, I don't think that's a desired behavior for most sites.

plousia’s picture

Issue summary: View changes

Why is this "works as designed"? I've been having this same issue with my zurb foundation sites. It's definitely not expected, or wanted, behaviour.

iStryker’s picture

Title: Logo won't show » Logo when topbar is enabled
Version: 7.x-4.x-dev » 7.x-5.x-dev
Category: Support request » Feature request
Priority: Major » Normal
Status: Closed (works as designed) » Active

Adding as a feature request.

FiLeVeR10’s picture

@AdrianB & @plousia

In most use cases shown by foundation, this is expected behavior of topbar. When it's only active for mobile, typically the desktop header (logo/navigation) go away.

It could be added into the topbar, or even above or below it, but there are no default solutions to this in foundation.

Topbar doesn't have default settings for adding a logo, so this is a custom deviation from the base foundation which would require custom style decisions.

see: http://foundation.zurb.com/docs/components/topbar.html

If this is just an issue of the logo showing on mobile, it can be added anywhere you would like the the by copying page.tpl.php from the parent to the subtheme template folder and use if ($linked_logo): print $linked_logo; endif; to print it wherever you would like.

Since it's not a part of topbar, it seems like it would be a custom alteration made by the themer.

apmsooner’s picture

I'll just add that i've done similar as described above by FiLeVeR10 and paste it in the topbar title area but rather then reference the existing logo via php code, i just reference a mobile version of the logo with height/width that fit into the topbar. Structure looks something like this:

<nav class="top-bar"<?php print $top_bar_options; ?>>
          <ul class="title-area">
            <li class="name"><h1><span class="mobile-logo"><a href="/"><img src="/sites/default/files/logo_mobile.png" rel="home"></a></span></h1></li>
            <li class="toggle-topbar menu-icon"><a href="#"><span><?php print $top_bar_menu_text; ?></span></a></li>
          </ul>
          <section class="top-bar-section">
            <?php if ($top_bar_main_menu) :?>
              <?php print $top_bar_main_menu; ?>
            <?php endif; ?>
            <?php if ($top_bar_secondary_menu) :?>
              <?php print $top_bar_secondary_menu; ?>
            <?php endif; ?>
          </section>
        </nav>
      <?php if ($top_bar_classes): ?>
      </div>
HongPong’s picture

Title: Logo when topbar is enabled » Logo not available when top bar is enabled
Status: Active » Closed (works as designed)

I believe FiLeVeR10 is correct to describe this feature request as a departure from standard foundation practice and apmsooner provides a good workaround so I will close this again as 'works as designed'. If someone has a patch to review that would make a custom toggle to make the logo appear, please reopen the issue.