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.
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!
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?
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!
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.
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">
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?
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.
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.
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.
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.