The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

phpBB2 Background behind logo?

4 posters

Go down

In progress phpBB2 Background behind logo?

Post by xtokiwartoothx May 25th 2012, 3:38 pm

Is there a way to set an image behind the logo in phpBB2?

I know in version 3 it's very easy under the design tab, but I can't use version 3 because it doesn't allow you to adjust the templates. I have a logo with no background and I want to keep it that way because not everyone uses the same resolution (obviously) so the logo doesn't get pushed off to the side or cut off for different users or when the window is resized. However, I'd like there to be a background behind it.
avatar
xtokiwartoothx
Forumember

Posts : 48
Reputation : 0
Language : english

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by NikkoBryan14 May 25th 2012, 3:43 pm

Use CSS Code !!
NikkoBryan14
NikkoBryan14
Forumember

Male Posts : 274
Reputation : 8
Language : English
Location : Philippines

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by xtokiwartoothx May 25th 2012, 4:32 pm

I figured that much, but I don't know where to look in the coding or exactly how to inset the picture.
avatar
xtokiwartoothx
Forumember

Posts : 48
Reputation : 0
Language : english

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by Nera. May 25th 2012, 6:31 pm

xtokiwartoothx can you please post your forum URL?

You want to add a background behind your forum logo? Did I understand you right?
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by xtokiwartoothx May 26th 2012, 1:31 pm

Yes, that's what I want to do.

My site is set to invite only so you can't really see it unless you log in.

If absolutely necessary I can make you a dummy account.
avatar
xtokiwartoothx
Forumember

Posts : 48
Reputation : 0
Language : english

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by Nera. May 27th 2012, 3:36 pm

I need the link but I don't need an account as I can see your header as a guest.
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by xtokiwartoothx May 28th 2012, 6:19 pm

avatar
xtokiwartoothx
Forumember

Posts : 48
Reputation : 0
Language : english

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by Nera. May 29th 2012, 12:22 pm

To add an image behind your logo in phpBB2 you'll need to add this to CSS & replace the image link in it with yours.

Code:
img#i_logo {
    background-image: url('http://hitskin.com/themes/18/70/03/i_header_bg.png');
}

If that is not what you wanted explain a bit better. Thanks.
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by xtokiwartoothx May 29th 2012, 12:50 pm

Under what template and section do I add this?

General > Overall Header?

I'm not sure where to put the code.
avatar
xtokiwartoothx
Forumember

Posts : 48
Reputation : 0
Language : english

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by Nera. May 29th 2012, 12:51 pm

AP > Display > Colors > CSS sheet on the top.
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by xtokiwartoothx May 29th 2012, 12:59 pm

I entered this in Overall Header:

img#i_logo {
background-image: url('https://i.servimg.com/u/f43/16/33/13/87/untitl10.jpg');
}

And all it does is put that code in the upper left corner of the page, no image, just the code text in the corner.
avatar
xtokiwartoothx
Forumember

Posts : 48
Reputation : 0
Language : english

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by xtokiwartoothx May 29th 2012, 1:00 pm

Nera. wrote:AP > Display > Colors > CSS sheet on the top.

Thanks, I'll give that a try, be right back.
avatar
xtokiwartoothx
Forumember

Posts : 48
Reputation : 0
Language : english

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by xtokiwartoothx May 29th 2012, 1:02 pm

Okay, it sort of worked, but not exactly.

Check my page again to see what it did.

I don't want the background image limited to the size of the logo image. I'd like it to occupy the entire white space behind the logo.
avatar
xtokiwartoothx
Forumember

Posts : 48
Reputation : 0
Language : english

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by xtokiwartoothx May 29th 2012, 1:05 pm

Also, I notice that when I click and drag the logo, the background goes with it, making me think they are linked. I'd like the background to be static so that when the page is re-sized for users with smaller res. screens, the background can vanish in one direction or the other without messing up the logo.

Basically, I want the background to be completely independent from the logo in size and movement.
avatar
xtokiwartoothx
Forumember

Posts : 48
Reputation : 0
Language : english

Back to top Go down

In progress Re: phpBB2 Background behind logo?

Post by SLGray May 29th 2012, 9:53 pm

Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!


phpBB2 Background behind logo? Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum