Problem adding site logo

For support and discussion related to templates and themes in phpBB 3.3.
6links
Registered User
Posts: 30
Joined: Sat Nov 26, 2022 11:35 am

Problem adding site logo

Post by 6links »

After spending several hours, I'd really appreciate some help with this. I'm trying to replace the phpBB logo with my own.

I've carefully followed the steps in How to change your board logo but after several hours, just cannot get my logo to display. I've Uploaded my png logo to the server, changed the logo name in colours.css, edited the width, and height to match the new logo in common.css, and purged the board cache but all I'm getting is empty white space.
Last edited by 6links on Wed Nov 30, 2022 11:44 am, edited 2 times in total.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: Problem adding site logo

Post by Mick »

Did you purge both the phpBB and browser caches as per "4. Troubleshooting" in the article you linked to?
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
6links
Registered User
Posts: 30
Joined: Sat Nov 26, 2022 11:35 am

Re: Problem adding site logo

Post by 6links »

Yes I did both Mick
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Problem adding site logo

Post by Mannix_ »

a link to your board please :)
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
6links
Registered User
Posts: 30
Joined: Sat Nov 26, 2022 11:35 am

Re: Problem adding site logo

Post by 6links »

User avatar
KevC
Support Team Member
Support Team Member
Posts: 72339
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Problem adding site logo

Post by KevC »

If the logo says top100 local guides, I can see it just fine.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Problem adding site logo

Post by Mannix_ »

Look like it's working.
6772137fa9ec.png
6772137fa9ec.png (5.58 KiB) Viewed 944 times
Clear your browser cache or visit your board in incognito mode.
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
6links
Registered User
Posts: 30
Joined: Sat Nov 26, 2022 11:35 am

Re: Problem adding site logo

Post by 6links »

Hmmmm that's really weird cos I don't see it at all :(

I'm still not seeing the logo here in incognito...how can I add a screen grab here?
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Problem adding site logo

Post by Mannix_ »

6links wrote: Wed Nov 30, 2022 12:41 pm Hmmmm that's really weird cos I don't see it at all :(

I'm still not seeing the logo here in incognito...how can I add a screen grab here?
When posting a reply switch to Attachments tab and click add files button ;)
f14112ac4693.png
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
6links
Registered User
Posts: 30
Joined: Sat Nov 26, 2022 11:35 am

Re: Problem adding site logo

Post by 6links »

Thanks for that tip. I'm truly perplexed why you guys can see the logo but I can't. This is what I've been seeing for hours and trying to fix a problem that is obviously not the problem that I should have been trying to solve :-(
Attachments
ThisIsWhatIsee.JPG
ThisIsWhatIsee.JPG (10.73 KiB) Viewed 896 times
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Problem adding site logo

Post by Mannix_ »

try adding background-size: 100% 100%; or background-size: cover; or background-size: contain; in colours.css where you changed the name.
Your logo is displaying but for some reason it's really big so you only see the upper part of the T
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
6links
Registered User
Posts: 30
Joined: Sat Nov 26, 2022 11:35 am

Re: Problem adding site logo

Post by 6links »

Too funny, I've spent hours looking at the darn white thing and wondering what it is. I just didn't recognize it as the top of the T. Well done you!

Anyway, I tried each of your 3 suggestions in colours.css but the problem persists.

.site_logo {
background-image: url("./images/top100_logo.png");
background-size: contain;
}

But why is it that you and KevC were/are able to properly see the logo and I myself cannot!!! Why is it that if I place the image on any other page on my site it displays fine as in the following example!!!
LogoOnAnotherPage.JPG
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Problem adding site logo

Post by Mannix_ »

have you tried viewing it with different browser ?
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2348
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦
Contact:

Re: Problem adding site logo

Post by P_I »

Another data point for the OP. I also see the logo correctly.

Using my browser's Inspection tool I can see that common.css (currently) contains the following:

Code: Select all

.site_logo {
	background-repeat: no-repeat;
	display: inline-block;
	width: 174px;
	height: 52px;
}
I has been my experience that it is generally useful when changing your CSS files to change the hash= value in stylesheet.css for each of the changed files so that browser's recognize the changes rather than using their cached version.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
6links
Registered User
Posts: 30
Joined: Sat Nov 26, 2022 11:35 am

Re: Problem adding site logo

Post by 6links »

Mannix_ wrote: Wed Nov 30, 2022 2:52 pm have you tried viewing it with different browser ?
Yes, I tried both MS Edge and Chrome!!!! And just in case, I've also changed the logo itself several times!
Last edited by 6links on Thu Dec 01, 2022 12:56 am, edited 1 time in total.
Post Reply

Return to “[3.3.x] Styles Support & Discussion”