Need to update the site logo at top of page

For support and discussion related to templates and themes in phpBB 3.3.
JohnW63
Registered User
Posts: 163
Joined: Tue Jul 12, 2011 2:37 am
Name: John Williamson

Need to update the site logo at top of page

Post by JohnW63 »

I have used the site search to figure this out. The issue is all the ones found mention an original file of site_logo.gif or site_logo.svg. Well, I don;t see either in my install.

I'm using carbon as my theme. The logo I need to update shows a path of:
/forum/styles/Carbon/theme/images/FiHS_Logos/FiHS_2022_logo.jpg

So I put this years logo in that same folder and I'm trying to find the file to edit. My colours.css shows this:
.site_logo {
/* background-image: url("./images/site_logo.svg");*/
}

which makes me think that is commented out.

Clearly I got this working a year ago. Sorry I can't figure this out.
Last edited by Mick on Fri Mar 24, 2023 8:20 am, edited 1 time in total.
Reason: Solved.
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Need to update the site logo at top of page

Post by Mannix_ »

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!
JohnW63
Registered User
Posts: 163
Joined: Tue Jul 12, 2011 2:37 am
Name: John Williamson

Re: Need to update the site logo at top of page

Post by JohnW63 »

I've updated the file to show this:
<div class="carbon-topper"></div><img src="{T_THEME_PATH}/images/FiHS_Logos/FiHS_2023_logo.jpg" class="carbon-image-wrapper" alt="2023 Logo">

I put the alt= text in to have another way to see if the update changed anything. I opened Edge, which I never use and cleared it's cache. Still no change.

My file location is : Carbon -> theme -> images -> FiHS_Logos -> <file name >

I must be missing something. Anyone spot my error?

www,fihsf1.net to see the page.
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Need to update the site logo at top of page

Post by Mannix_ »

is this the result you are after??
696c63d5995c.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!
User avatar
ssl
Registered User
Posts: 1606
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert
Contact:

Re: Need to update the site logo at top of page

Post by ssl »

Clear the cache of your forum and your browser after clic here: https://www.fihsf1.net/forum/
Sorry for my English ... I do my best!

phpBB: 3.3.11 | PHP: 8.2.16
[Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
JohnW63
Registered User
Posts: 163
Joined: Tue Jul 12, 2011 2:37 am
Name: John Williamson

Re: Need to update the site logo at top of page

Post by JohnW63 »

Sorry for the very late replies.

Mannix,

Nope. The image should read 2023, not 2022.

ssl,

I have cleared my cache and ever fired up a browser I never use to exclude any cache issue.
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Need to update the site logo at top of page

Post by warmweer »

Using a browser's Inspector, I see your logo is still pointing to the 2022 version.
<img src="./styles/Carbon/theme/images/FiHS_Logos/FiHS_2022_logo.jpg" class="carbon-image-wrapper" alt="">
If (in the Inspector) I edit that to <img src="./styles/Carbon/theme/images/FiHS_Logos/FiHS_2023_logo.jpg" class="carbon-image-wrapper" alt="">, then the new logo is visible: which means the location is correct but that you edited the wrong file referencing the logo;

overall_header.html
line 255
<div class="carbon-topper"></div><img src="{T_THEME_PATH}/images/carbon-logo.jpg" class="carbon-image-wrapper" alt="">

You've got 2 simple options:
either use an image named carbon-logo.jpg
or
edit line 255 (note that you've put the logo in a subdirectory (/FiHS_Logos/)
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
JohnW63
Registered User
Posts: 163
Joined: Tue Jul 12, 2011 2:37 am
Name: John Williamson

Re: Need to update the site logo at top of page

Post by JohnW63 »

As I mentioned above, this is the line I edited:
<div class="carbon-topper"></div><img src="{T_THEME_PATH}/images/FiHS_Logos/FiHS_2023_logo.jpg" class="carbon-image-wrapper" alt="2023 Logo">

Here is the current image. ( open image in new tab )
http://www.fihsf1.net/forum/styles/Carb ... 2_logo.jpg

Here is the image it should be showing.
http://www.fihsf1.net/forum/styles/Carb ... 3_logo.jpg

The only part that could be in error is the variable [T_THEME_PATH}. If forum/styles/Carbon/theme is not the right location, how do I figure out what the path should be?
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Need to update the site logo at top of page

Post by warmweer »

Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
JohnW63
Registered User
Posts: 163
Joined: Tue Jul 12, 2011 2:37 am
Name: John Williamson

Re: Need to update the site logo at top of page

Post by JohnW63 »

warmweer,

The links wasn't helpful. I have the site working with the file name of last year. Back when I contributed to that thread, I had to change the name of the file to match the default name.
JohnW63
Registered User
Posts: 163
Joined: Tue Jul 12, 2011 2:37 am
Name: John Williamson

Re: Need to update the site logo at top of page

Post by JohnW63 »

I have verified the file location is correct by renaming the 2022 file and it disappears from the web site. That must mean the either the file I am editing is the wrong one or there is another line in the file that is the correct one. I only saw one that have the matching syntax in the file. I'll check again.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Need to update the site logo at top of page

Post by Brf »

You need to clear your board's cache. It is still pulling the old template file.
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Need to update the site logo at top of page

Post by warmweer »

JohnW63 wrote: Sat Mar 18, 2023 1:40 am I have verified the file location is correct by renaming the 2022 file and it disappears from the web site.
Which shows that the file referenced is the one being shown.
Did you then also try renaming the 2023 to 2022 to see if it then shows up (just as a test)?
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
2002XterraSC
Registered User
Posts: 17
Joined: Mon Apr 04, 2022 7:29 pm
Location: Ontario, Canada
Name: Adam Z

Re: Need to update the site logo at top of page

Post by 2002XterraSC »

Have you purged the board cache in the ACP?
JohnW63
Registered User
Posts: 163
Joined: Tue Jul 12, 2011 2:37 am
Name: John Williamson

Re: Need to update the site logo at top of page

Post by JohnW63 »

Now, that is something I have NOT done...

Yay! That was the fix.
Post Reply

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