Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Crowtree - lokakuu 06, 2011, 09:26:50 AP

Otsikko: Site Banner.
Kirjoitti: Crowtree - lokakuu 06, 2011, 09:26:50 AP
Adding Banner to site.

Hey guys,

   my site is ww.ta-gaming.com
   my version is SMF 2.0.1
   I have the banner I want to add.
   Inferno Design By DzinerStudio
   For some reason the theme doesnt have the option to just change the logo by entering the url. 


Any ideas?
Otsikko: Re: Site Banner.
Kirjoitti: ARG01 - lokakuu 06, 2011, 09:41:12 AP
Most custom themes don't have that option. Are you wanting to replace the logo or replace the header image with a full width banner.

;)
Otsikko: Re: Site Banner.
Kirjoitti: Crowtree - lokakuu 06, 2011, 09:46:25 AP
Erm.... the logo i guess, the theme used to have the makers logo at the top of the page where I want my banner. This is the banner i want to put on.

http://i236.photobucket.com/albums/ff228/crowtree_album/TAmericabannercopy.png
Otsikko: Re: Site Banner.
Kirjoitti: ARG01 - lokakuu 06, 2011, 09:52:31 AP
Make sure that your image is in .png format and name it logo (logo.png). Then add it to the images/custom folder overwriting the current logo.png image.

Then open index.css and find:
#logo a {
float: left;
display: block;
width: 350px;
height: 110px;
background: url(../images/custom/logo.png) no-repeat;
}


change to:
#logo a {
float: left;
display: block;
width: 648px;
height: 98px;
background: url(../images/custom/logo.png) no-repeat;
}


;)
Otsikko: Re: Site Banner.
Kirjoitti: Crowtree - lokakuu 06, 2011, 09:55:10 AP
LainaaThen add it to the images/custom folder overwriting the current logo.png image.

How do I do this part? When i click edit theme files, it allows me to see them all, but there is no edit button.
Otsikko: Re: Site Banner.
Kirjoitti: ARG01 - lokakuu 06, 2011, 09:58:40 AP
You can do this by using FTP or a file manager through your hosting account.  ;)
Otsikko: Re: Site Banner.
Kirjoitti: Crowtree - lokakuu 06, 2011, 10:39:48 AP
Ok, I have the banner on now.   I replaced the logo file on my pc and just uploaded a new copy of the theme.   Then i altered that text you told me to.  Thanks!  :D

Otsikko: Re: Site Banner.
Kirjoitti: ARG01 - lokakuu 06, 2011, 10:59:02 AP
That wasn't so hard now was it?  ;)
Otsikko: Re: Site Banner.
Kirjoitti: Crowtree - lokakuu 06, 2011, 11:08:31 AP
Nope haha.

I have another question. How do I change the smf icon in the website tab?  Like facebook has that little F...
Otsikko: Re: Site Banner.
Kirjoitti: ARG01 - lokakuu 06, 2011, 11:50:29 AP
That is called a favicon. You will find it in your main directory and it is named favicon.ico. Just google favicon generator and you will find site that will allow you to create your own.
Once created, simply replace the current favicon.ico with the new one. Then refresh your browser. You may also need to clear your cookies in some cases.  Keep in mind that it sometimes takes a while to take affect before you will see the new favicon appear.

;)
Otsikko: Re: Site Banner.
Kirjoitti: Illori - lokakuu 06, 2011, 11:55:03 AP
Lainaus käyttäjältä: ARG - lokakuu 06, 2011, 11:50:29 AP
Then refresh your browser. You may also need to clear your cookies in some cases.

clear your cache, clearing your cookies should have nothing to do with a favicon.
Otsikko: Re: Site Banner.
Kirjoitti: ARG01 - lokakuu 06, 2011, 12:11:37 IP
Lainaus käyttäjältä: Illori - lokakuu 06, 2011, 11:55:03 AP
Lainaus käyttäjältä: ARG - lokakuu 06, 2011, 11:50:29 AP
Then refresh your browser. You may also need to clear your cookies in some cases.

clear your cache, clearing your cookies should have nothing to do with a favicon.

Would it really hurt to do so? I cant even count how many times one would not see the new favicon until they cleared their cache. Just trying to save a few steps that's all.

;)
Otsikko: Re: Site Banner.
Kirjoitti: Illori - lokakuu 06, 2011, 12:12:23 IP
that is the point, you said cookies ;) not cache.
Otsikko: Re: Site Banner.
Kirjoitti: ARG01 - lokakuu 06, 2011, 12:14:38 IP
Clearing the cookies have also come in handy in many cases. I am simply attempting to assist someone. No reason to overtly attempt to make me appear as if I am giving wrongful information. Move on please.

;)
Otsikko: Re: Site Banner.
Kirjoitti: Illori - lokakuu 06, 2011, 12:16:46 IP
check your information, cookies has nothing to do with the cache nor the favicon. many people would be upset to be logged out of all their websites just because they cleared their cookies yet the issue would still be present.
Otsikko: Re: Site Banner.
Kirjoitti: ARG01 - lokakuu 06, 2011, 12:22:26 IP
The cookies are essentially the browsers cache. I have gone through these steps over and over when a favicon is involved and it has worked every single time. I don't know of many who's day has been totally ruined simply because they had to re-log onto a website. I am not going to argue with you over this.

@Crowtree. If you need any further assistance on this feel free to send me a PM.  ;)

Otsikko: Re: Site Banner.
Kirjoitti: IchBin™ - lokakuu 06, 2011, 12:34:30 IP
ARG,

While I admire your suggestion here and the help you are giving. If you are going to suggest something like clearing cookies, it's probably a good idea to let the user know it will log them out of everything. I remember once when I was a noob and didn't know how cookies worked. When someone suggested I clear my cookies it pissed me off when I found out I had to log back in to all my sites. Especially when I couldn't remember the password to a couple of them. :(

Anyway, cookies "shouldn't" have anything to do with the browser caching the favicon, but I've seen stranger things. :)
Otsikko: Re: Site Banner.
Kirjoitti: ARG01 - lokakuu 06, 2011, 01:03:25 IP
@Crowtree

CAUTION: Clearing the browser cookies WILL result in you being prematurely and unexpectedly logged out of your website!!!

If being temporarily logged out of your website results in causing too much stress in your personal life then I would strongly advise against clearing your browser cookies.
In no way did I purposely intend to force you into doing something that may be harmful to your emotional status.
I apologize sincerely for supplying you with complete and wrongful information. Please disregard any previous information that you may consider harmful or may appear as inaccurate.

:-\
Otsikko: Re: Site Banner.
Kirjoitti: IchBin™ - lokakuu 06, 2011, 03:29:59 IP
@Crowtree don't mind ARG and his snarky comments even when they are in jest. Sounds like someone pee'd in his cheerio's this morning.
Otsikko: Re: Site Banner.
Kirjoitti: Crowtree - lokakuu 06, 2011, 03:35:26 IP
I don't mind. I'm just happy you're all helping.   Can i not edit the Favicon in the style sheet? 
Otsikko: Re: Site Banner.
Kirjoitti: Illori - lokakuu 06, 2011, 03:41:59 IP
no it is not in the css
Otsikko: Re: Site Banner.
Kirjoitti: IchBin™ - lokakuu 06, 2011, 03:43:07 IP
Favicon's are automatically picked up by the browser and cached. If you want to replace the SMF one with yours, you simply need to delete the SMF file and replace it with your own favicon.ico file. Clear your browser cache and it should show the new one. The favicon.ico file is located in the root of the SMF folder where SSI.php is.
Otsikko: Re: Site Banner.
Kirjoitti: Crowtree - lokakuu 06, 2011, 03:45:03 IP
So thats a job for the site owner? Because im just an admin.
Otsikko: Re: Site Banner.
Kirjoitti: Illori - lokakuu 06, 2011, 03:46:26 IP
yes someone with ftp access would have to do it.