I would like to have an image in the header region for this wonderful theme.

I would like to disable the Site name, slogan and logo and instead have an image with site name, slogan and logo.

However when I disable Site name, slogan and logo, the header region disappears. How do I install an image in the header

Any help will be highly appreciated.

Comments

artist.lupein’s picture

Latest version of ArtistsC01 theme has header region. Grab it and install it.

So, disable logo, site name and slogan in admin/build/themes/settings/artistsC01 and add a block with the image in the header region in admin/build/block/list/artistsC01.

That should do it.

Other feature I've added in latest commit is configurable header backcolor. This should make it easier to fit in your image to this region.

gmasky’s picture

Thanks, I will try out the update.

gmasky’s picture

I have tried a test image in http://stanislausbandra.in and it looks quite nice. This is a very valuable feature.

Your theme is possibly the most flexible theme I have used. Now only to get fluid widths to work. In its current state civicrm would probably break the theme. Also on a wide screen there a lot of blank areas on the screen.

Thanks for this theme

artist.lupein’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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

2createwdrupal’s picture

Version: 5.x-1.x-dev » 6.x-1.1
Component: User interface » Code
Status: Closed (fixed) » Active

I am using this theme and for the most part I like it. My issue here is that the theme RE-NAMES any image uploaded, by any method, to "themename_logo" eg. artistsC0_logo.jpg. I want my logo to retain the file name I give it. Where do I change this? I see references to the logo in artistsC01.theme and template.php. I tried changing one thing in .theme but it did not make a difference. I will continue to research this, but it would be nice if you could help direct me to the source of the re-naming.

Thank you.

2createwdrupal’s picture

So far, I've gotten around this problem by providing the full path to the image-logo in place of

<?php if (isset($logo)): ?> <?php print '<a href="' . check_url($base_path) . '" title="' . $site_name . '"><img src="'. check_url($logo) .'" alt="'. $site_name .'" id="logo" /></a>'; ?> <?php endif; ?>

<?php print '<a href="' . check_url($base_path) . '" title="' . $site_name . '"><img src="http://www.example.com/sites/default/files/site-logo.jpg" alt="'. $site_name .'" id="logo" /></a>'; ?>

in page.tpl.php

I realize that this is a quick and dirty method. Wish I knew of a better way.

summit’s picture

Thanks for the tip! greetings, Martijn

markconroy’s picture

You could also upload your logo to the server using FTP and then under Admin >> Themes >> Configure, use 'Path To Custom Logo'.

MC