How to change the forum name on the tab/window

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
2drx4
Registered User
Posts: 8
Joined: Tue Sep 17, 2019 12:53 am

How to change the forum name on the tab/window

Post by 2drx4 »

I can't find this by searching and it might be I'm just using the wrong terms.

In the ACP you can change the forum name and description, and whatever you set the forum name to (see example image) will be "[That name] - Index" when on the Index page. I don't want to display a forum name or description (it's embedded in the header image instead), and you can do that by just leaving those fields blank, but if you do that your Index page will display on the tab/window as " - Index", and that isn't really ideal.
Screenshot 2023-01-18 174715.png
Screenshot 2023-01-18 174836.png
Hopefully the pictures help to make my silly problem understandable.
Last edited by Mick on Tue Jan 24, 2023 11:51 am, edited 1 time in total.
Reason: Solved.
User avatar
warmweer
Jr. Extension Validator
Posts: 9546
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: How to change the forum name on the tab/window

Post by warmweer »

In your ...style/prosilver/template/overall_header.html (backup that file first so that you can restore if necessary)
comment the lines

Code: Select all

90				<h1>{SITENAME}</h1>
91				<p>{SITE_DESCRIPTION}</p>
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.
User avatar
cabot
Registered User
Posts: 245
Joined: Sat Jan 07, 2012 4:16 pm
Contact:

Re: How to change the forum name on the tab/window

Post by cabot »

Or add the "sr-only" class on both elements.

Code: Select all

<h1 class="sr-only">{SITENAME}</h1>
<p class="sr-only">{SITE_DESCRIPTION}</p>
2drx4
Registered User
Posts: 8
Joined: Tue Sep 17, 2019 12:53 am

Re: How to change the forum name on the tab/window

Post by 2drx4 »

Thanks!
Post Reply

Return to “[3.3.x] Support Forum”