How do I customize a logo in the Colourise theme?
cananian - July 14, 2009 - 04:21
| Project: | Colourise |
| Version: | 6.x-2.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I'm currently working on mercurymarketingmanagementconsultants.com and am having a heck of a time with the logo, and it appears to be the "Colourise" theme. I uploaded a custom logo under global settings, but it didn't show up. The option isn't even available when I try to configure the Colourise theme. I could switch out my logo for the theme's default, but I wouldn't have a link back to the home page and my new header is way too small and leaves a gap.
Would anyone have an idea of any other options? I'd change the custom css file regarding the logo but I'm not sure where to start.

#1
#2
Hi There,
At the moment, Colourise doesn't offer logo feature but you can add some more features into its dot-info file - colourise.info, like this one.
features[] = logoAnd then you need to add some snippets to your template for rendering your logo. Example, add this below to your page.tpl.php file.
<?php if ($logo): ?><a id="logo" href="<?php print check_url($front_page) ?>" title="<?php print t('Home') ?>">
<img src="<?php print $logo ?>" alt="<?php print t('Site Logo')?>" />
</a>
<?php endif; ?>
And finally, it's your CSS time.
#3
Hello gibbozer,
I've followed the steps you've outlined here, but am unsure by what you mean by "And finally, it's your CSS time". Could you give a little more detail about what CSS element might need to be adjusted to allow this to work?
I have manually replaced the file "sites/my-domain/files/colourise_logo.jpg", which is what Firebug refers to as the Logo image location, as per (in my case):
img alt="Site Logo" src="/sites/evilrobotnews.com/files/colourise_logo.jpg"/
Yet the standard "Rainbow Dashes" image persists, which I have manually removed. Is there another location where this default image resides. Are you aware of something I'm missing?
Also, I stuck the recommended PHP code into "page.tpl.php" in, what seemed to me, a non-disruptive spot, but is there a preference as to where in that file it should be inserted specifically, as I suppose that could be an issue too?
As always, thanks for your time,
promet
#4
Hi promet,
From above guideline you need to exactly name your logo with logo.png and make sure you place it into colourise theme folder because
<?php print $logo ?>needs that name and path. If you can see your new logo then it's time to adjust your style.And remember to refresh your browser (F5) any time you made change to CSS.