Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

how to have custom logo?

Aloittaja mSohail, heinäkuu 31, 2011, 12:51:03 AP

« edellinen - seuraava »

mSohail

How can i have custom log, in place of theme's default logo?


My forum URL: emoneycircle.com
SMF Version: 2.0

Sir Osis of Liver

The logo is specified in /css/index.css here:



#logo a {
position: absolute;
top: 30px;
left: 20px;
display: block;
width: 256px!important;
height: 61px!important;
cursor: pointer;
background: url(../images/img/logo.png) no-repeat!important;
}




You can upload your logo as /images/img/logo.png to replace the default logo, or use your own filename.

When in Emor, do as the Snamors.
                              - D. Lister

mSohail

I nevigated to Themes settings, selected the desired theme and i got two options.
    Modify the index template. (the main template)
    Modify the stylesheets. (colors, fonts, etc.)
These two editing tools doesn't have any option to add custom logo. Where can i find /css/index.css ?

mashby

You would be better off using FTP and downloading/editing locally that file. The one you need is css/index.css. What is the size of your logo? If it is different than this:
width: 256px!important;
height: 61px!important;
You will want to adjust those values. And don't forget to change or overwrite the logo image.
Always be a little kinder than necessary.
- James M. Barrie

[unplugged]

Upload whatever image you want to use for your logo. Then go to Admin > Configuration > Current Theme and find Logo image URL: and type in the path to the image you just uploaded. Click save.  ;)
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



mSohail

Lainaus käyttäjältä: SunKing - heinäkuu 31, 2011, 09:22:10 AP
Upload whatever image you want to use for your logo. Then go to Admin > Configuration > Current Theme and find Logo image URL: and type in the path to the image you just uploaded. Click save.  ;)
When i use default theme i can see this option Logo image URL:
But when i use other theme that i upload, i can't see this option. :(

Illori

then your theme does not support it, if you provide a link to your forum we can tell you exactly how to do it without guessing all day.

Sir Osis of Liver

.... or attach your index.template.php.

When in Emor, do as the Snamors.
                              - D. Lister

mashby

The OP already provided a link to his site which is great. And the theme the OP is using doesn't support theme settings, so this is really all that is needed:
LainaaYou would be better off using FTP and downloading/editing locally that file. The one you need is css/index.css. What is the size of your logo? If it is different than this:
width: 256px!important;
height: 61px!important;
You will want to adjust those values. And don't forget to change or overwrite the logo image.
Always be a little kinder than necessary.
- James M. Barrie

Advertisement: