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.
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.
Comments
Comment #1
mikey_p CreditAttribution: mikey_p commentedComment #2
Sungsit CreditAttribution: Sungsit commentedHi 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.
And then you need to add some snippets to your template for rendering your logo. Example, add this below to your page.tpl.php file.
And finally, it's your CSS time.
Comment #3
promet CreditAttribution: promet commentedHello 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
Comment #4
Sungsit CreditAttribution: Sungsit commentedHi 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.
Comment #5
kompressaur CreditAttribution: kompressaur commentedHi gibbozer. Ive followed the steps you mentioned in #2 and it works well. Im having a few probs trying to place the logo where the sitename was (ive omitted the sitename from the pagefile and replaced it with your logo php) Im presuming i have to change this
would i just change it to...
if so it doesnt see to be working for me. thanks
Comment #6
macabu CreditAttribution: macabu commentedHello Gibbozer, you seem to be quite a nice dude, you give us a nicely ported theme, you even take out time to document how we can add our custom logo, but for one inexplicable reason you refuse to put the icing on the cake by answering just one final question that the last two posts ask for, how do we simply edit the css, so that the logo can nicely centralize at the spot where the site name is or how come when we decide to go manual and remove and replace the background image with our custom logo, why does is still show the same old colorful curtain. C'mon you'r leaving one high and dry. If you knew you won't simply support this why bother to lead us on, only to go quite and refuse to give one the css augmentation detail, because I can see my logo but do not how to centralize it; unless you don't know what to do next yourself, of which I seriously doubt cos' you know what to do. Pleeeeaaaaaase kindly answer one, thanks for a prompt response.
Comment #7
kavitasingh CreditAttribution: kavitasingh commentedMacabu can u help with the logo? It refuses to appear - have pasted logo.png in the folders as suggested
Comment #8
rickupdegrove CreditAttribution: rickupdegrove commentedHello everybody,
I followed this exactly what it does it provide a handy file upload at:
yoursite-name.com/admin/build/themes/settings/colourise
However, after you do the above steps you must "clear your cache".
I use one of two ways depending on the situation.
a.) If you know what drush is and use then use this command:
b.) browse to yoursite-name.com/admin/settings/performance
Click the button [Clear cached data]
"And (now) finally, it's your CSS time."
This answer to this is really beyond the scope of this question because your unique situation, logo size, relation to any new block regions etc.
p.s. gibbozer Thanks for the awesome theme
Comment #9
yashadev CreditAttribution: yashadev commented