How to change logo

How to change logo

This tutorial explains how to change logo in phpBB styles available on this website.

Logo files

All images used by style are located in directory theme/images/ of style's directory (such as styles/balcktrans/theme/images/).

Logo name:
site_logo.gif.

There are several ways to change logo. Use whichever works better for you.

Easy method: swapping logo

Rename your normal logo to site_logo.gif

That's all.

No need to change logo dimensions anywhere in style, logo dimensions aren't hardcoded.

Complex method: changing file names

If your images are not in GIF format, you'll need to edit logo file name in style.

First upload your logo images to directory styles/{style name}/theme/images/ (replace {style name} with name of style)

Then open file template/overall_header.html, find this code

CODE: Select all

<img src="{T_THEME_PATH}/images/site_logo.gif" />
If your logo has file name other than site_logo.gif, change file name in this part of line:

CODE: Select all

src="{T_THEME_PATH}/images/site_logo.gif"
For example, if your main logo is named my_logo.jpg, after renaming to site_logo.gif code would look like this:

CODE: Select all

<img src="{T_THEME_PATH}/images/site_logo.gif" />
After editing overall_header.html, go to admin control panel and click "purge cache" button on admin control panel's main page.

That's it.

No need to change logo dimensions anywhere in style, logo dimensions aren't hardcoded.

Easiest way to change logo image is to simply swap site_logo.gif with your custom images.

Problems

If you have any questions or ran into problems, please post your questions on styles support forum.