Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
apmsooner CreditAttribution: apmsooner commentedI've noticed the logo doesn't show when the top bar is enabled....
Comment #2
chrisjlee CreditAttribution: chrisjlee commentedThe 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.
Comment #3
AdrianB CreditAttribution: AdrianB commentedWhat 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.
Comment #4
plousia CreditAttribution: plousia commentedWhy 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.
Comment #5
iStryker CreditAttribution: iStryker commentedAdding as a feature request.
Comment #6
FiLeVeR10 CreditAttribution: FiLeVeR10 commented@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.
Comment #7
apmsooner CreditAttribution: apmsooner commentedI'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:
Comment #8
HongPong CreditAttribution: HongPong at kor group commentedI 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.