we_universal

Hiding the forum name on the header image - we_universal

Hiding the forum name on the header image

by 2drx4 » Sat Jan 21, 2023 1:30 am

I'd like to remove the forum name (and description) from the header image. You can do this by just going into the ACP and making the site name and description fields blank in Board Settings section of the General tab blank. However, if you do that then the index page name in the tab/window will show up as " - Index" instead of "[Forum name] - Index". So I'd like to be able to at least populate the site name field, but not have it show up over the header image.

In the overall_header.html file in style/we_universal/template I commented out lines 217 and 218 as such:

<!-- h1 class="sr-only">{SITENAME}</h1 -->
<!-- span>{SITE_DESCRIPTION}</span -->


That didn't work. My assumption was that there might still be some references to overall_header in prosilver, so I tried commenting out lines 90 and 91 in it, and that didn't do it either. And with that I was out of ideas.

Screenshot that shows the text I want to remove (currently have the site description field blank):
Screenshot 2023-01-20 172749.png
Thanks for any help.
2drx4
Registered User
Posts: 12
Joined: Tue Sep 17, 2019 12:53 am

Re: Hiding the forum name on the header image

by v12mike » Sat Jan 21, 2023 3:11 am

v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: Hiding the forum name on the header image

by 2drx4 » Sat Jan 21, 2023 3:21 pm

Apparently I didn't. Whoops. I'll give that a go.
2drx4
Registered User
Posts: 12
Joined: Tue Sep 17, 2019 12:53 am

Re: Hiding the forum name on the header image

by 2drx4 » Sat Jan 21, 2023 4:32 pm

I changed it to:

.inventea-sitename, .inventea-sitename h1{
color: transparent;
}

And it worked. Not sure if the rgba colour space was causing some compatibility issues or if I failed to correctly clear the cache, but it works this way.
2drx4
Registered User
Posts: 12
Joined: Tue Sep 17, 2019 12:53 am

Re: Hiding the forum name on the header image

by v12mike » Sat Jan 21, 2023 7:16 pm

Thanks for the feedback.
v12mike
Registered User
Posts: 584
Joined: Thu Jul 09, 2015 5:03 pm

Re: Hiding the forum name on the header image

by 2drx4 » Sun Jan 22, 2023 3:24 pm

Thanks for making such a nice style for phpBB!
2drx4
Registered User
Posts: 12
Joined: Tue Sep 17, 2019 12:53 am