Instead of disabling the logo on your Drupal 7 theme, you may choose to switch out the stock logo with your own custom company logo. This article will show you how to do this in the Global Settings. Enabling the Drupal 7 global settings to allow you to use your custom logo is simple to do with the following steps.

Setting up a custom logo in Drupal 7:

  1. Log into your Drupal 7 Admin panel.
  2. Using the top menu area, click on the Appearance option.
    _main-dashboard-appearance
  3. This will bring up the themes page where it lists all themes installed within Drupal 7. Locate the Settings tab at the upper right corner of the screen and click it.
    appearance-theme-settings-tab
  4. This brings you to the main Appearance page. You will see Global Settings followed by the name of all enabled themes as a top menu bar. To set the option globally, click on the Global Settings option. To set it for a particular theme, simply click on the name of the desired theme. This will bring you to the settings page.
  5. You will then need to locate the Logo image settings section on the page. Uncheck the box labeled Use the default logo and a few new fields will appear. These are Path to custom logo and Upload logo. Use the Browse button and upload your logo. (It will appear in the Path field after saving)

    Note that not all themes support the global settings. If that is the case for your theme, simply choose the theme name at the top instead of Global Settings to go to the settings for that particular theme. Then you willl be able to turn off the logo for that theme.

    appearance-theme-custom-logo
  6. Click on the Save Configuration button at the bottom of the page to save the change. You can see the effects of uploading a custom logo in the before and after screenshots below.
    Before After
    custom-logo-before custom-logo-after
Continued Education in Course 106: Working with themes in Drupal 7
You are viewing Section 6: How to upload your custom logo in your Drupal 7 theme
Section 5: How to turn off the Drupal logo for themes in Drupal 7
Section 7: How to upload your custom favicon in your Drupal 7 theme
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

n/a Points
2014-03-03 7:05 am

i cant upload the image when i upload the image then error can be genrate like this :

  • The file a.jpg could not be saved, because it exceeds 80 MB, the maximum allowed size for uploads.
  • The logo could not be uploaded.

so how can i solve ?

Staff
10,207 Points
2014-03-03 11:54 am
Hello priyank prajapati,

Thank you for your question. This error is usually caused by a PHP setting, that you can adjust on your server.

Here is a guide on how to update your local php settings.

You will want to increase the value for the upload_max_filesize setting.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
n/a Points
2014-03-24 1:55 am

Thnks for reply...

its fool help for me

thank u so much..

i hope you can give me your best help for nexr time

Staff
20,113 Points
2014-03-24 12:21 pm
Hello priyank prajapati,

You are most welcome, please do not hesitate to ask us any further questions.

Kindest Regards,
Scott M
n/a Points
2014-03-25 1:04 pm

Hi There,

i tried to upload an image as per your instruction and received the following error message: 

  • Warning: move_uploaded_file(temporary://RH_logo.jpg) [function.move-uploaded-file]: failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in drupal_move_uploaded_file() (line 1636 of/home/restorehope/www/www/includes/file.inc).
  • Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpByz4If' to 'temporary://RH_logo.jpg' indrupal_move_uploaded_file() (line 1636 of /home/restorehope/www/www/includes/file.inc).
  • File upload error. Could not move uploaded file.

Can you tell me what I need to do please?

 

thanks,

Sinty 

Staff
9,968 Points
2014-03-25 3:15 pm
Hello Sinty,

It sounds like the temporary folder Drupal is trying to upload your logo to it doesn't have the correct permissions to, or possibly you have PHP Safe Mode on. Unfortunately looking at your directory structure, it doesn't seem like you're hosting your account with us.

You would need to ensure that the temporary folder that Drupal is trying to upload to, it has access to. After some searching, it seems like a possible workaround could also be editing your includes/file.inc file and look for this line:

if (!move_uploaded_file($_FILES['files']['tmp_name'][$source], $file->uri)) {



Then comment that line out by placing two forward slashes in front of it:

//if (!move_uploaded_file($_FILES['files']['tmp_name'][$source], $file->uri)) {



Finally below the line you just commented out, add this one:

if (!move_uploaded_file($_FILES['files']['tmp_name'][$source], drupal_realpath($file->uri))) {



Please let us know if any of these were able to work for you.

- Jacob
n/a Points
2014-04-22 12:07 pm

need to change the Header logo with new customize ?? as can anybody tell me the steps how i can change the logo  and header back ground color?????

Staff
17,716 Points
2014-04-22 12:53 pm
Hello RS,

The header background color is typically related to the theme. You can find the instructions for the changing the color here. The instructions for changing the logo are detailed in the article listed above. If you're having a different probem, then please provide more details on the issue. Are you using a different version?

If you require further assistance, please give us a little information on the problem you're having and we would be happy to help.

Regards,
Arnel C.

n/a Points
2014-04-22 3:20 pm

Arn,

when i am trying to apply those steps it doesnt reflect in my drupal site.. is there any cache i need to clear it off? 

Staff
17,716 Points
2014-04-22 3:57 pm
Hello RS,

You may need to clear browser cache. You can also clear the Drupal cache, but aware that it may differ from version to version.

If you continue to have a problem, we would need information such as a URL and exact steps you're taking when you're trying to make these changes.

Regards,
Arnel C.
n/a Points
2014-04-22 4:01 pm

Arn,

where i can see the css amd images are stored in drupal as it might be simple question but i am totally new to Drupal and i couldnt figure it out the Site/file/images folder ???can you you throw some ideas how  to check images in Site/file folder and how to change the color bec it doesnt reflect any thing on my site.

n/a Points
2014-04-22 4:21 pm

Here are the steps i am following to change the color of the back ground 

n/a Points
2014-04-22 4:37 pm

Arnel 

When i update the logo the them of the site is changing to bartik them as we made customize them for our website using Webimax . when i am updating the logo the default theme is getting removed??? So how i can fix the issue without changing the them i just need to change the logo

Staff
17,716 Points
2014-04-22 4:45 pm
Hello RS,

The customized theme explains the problem. First, make sure that you've selected your custom theme as the default theme. Then go back into the themes and disable every other theme. That way it won't default back to Bartik. When you start working with custom items, it unfortunately may render our instructions unusable because you are NOT using the standard/default themes within the software. We generally do not support custom work as it varies from the standard. If our suggestions continue to fail, then your best avenue of support is to communicate with the author of the custom theme as they have access to test and investigate your changes using the custom theme you have selected.

Regards,
Arnel C.
n/a Points
2014-04-22 5:00 pm

Arnel 

Thanks for your suggestions, still i am unable to figure it out where exactly the theme getting changed, Could you tell is there any way we saved the images of the logo in a folder ??? if so can you tell me  the path how i can go to the Images  folder??

Staff
17,716 Points
2014-04-22 7:37 pm
Hello RS,

Sorry to hear that you're still having problems with the theme. You may have better luck consulting with the author of the theme. I can tell you that the path is typically something like: sites/all/themes - for the custom themes, but I'm not sure where you'd get the color settings. I would look at the theme and see if there are CSS settings there. If you want to do it manually.

I made two videos making these changes (using Drupal 7) - just to make sure it's the same procedure you're following. Notice that when I make the changes, you can see the color and the logo changes when I exit the settings for the appearance.

Drupal 7 Header Color change
Drupal 7 Logo Change


Hope that helps!

Regards,
Arnel C.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

16 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!