Dear all,

I am trying to put a logo left side to sitename in header but its giving me a bit hard time.
Can anyone please guide me with their experience how to put it there? I was trying to place a png image file maybe thats the reason?

Thanks,

akhan

Comments

ollar’s picture

Status: Active » Postponed

Hi. Insert

<?php if ($logo): ?>
                <div class="logo clear-block">

                <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a>
               
                </div>

<?php endif; ?>

and choose the logo image in theme configuration page: */admin/build/themes/settings/summertime

change css file if needed. Good luck.)

macmaci’s picture

Can you pls tell me where this code should go? Having same problem adding logo to header image.
Thanks,
Maci

ollar’s picture

Try to find that code:

<?php if ($site_slogan): ?>
     <p><?php echo $site_slogan; ?></p>
<?php endif; ?>

and put the code I've given earlier BEFORE it. Than add into your local.css file:

.logo{
float: left;
width: (some value);
}

If understood you right, that would help. Have fun)

macmaci’s picture

Yes you did and thanks so much it worked along with a bit of tweaking the margin/position. I just love the Drupal community--so helpful. Especially for those of us on the upward learning curve.
-M

restyler’s picture

Status: Postponed » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -Logo, -summertime logo, -header logo, -howto logo, -summertime header, -logo in summertime, -summertime head

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