Black

Replace PHPBB logo - Black

Replace PHPBB logo

by USMCmatt » Fri Oct 21, 2016 12:23 pm

I know there are threads on this but they are all old. I want to replace the entire top forum text and phpBB logo and want to replace it with an image header. I have tried everything listed here and I cannot get even just the logo to change.
USMCmatt
Registered User
Posts: 5
Joined: Sun Sep 25, 2016 8:06 pm
Contact:

Re: Replace PHPBB logo

by Wolfy Dragon » Tue Jun 27, 2017 5:46 pm

I don't get why it won't change either. I replaced the default image several times! I have no idea where it is getting it from...
Wolfy Dragon
Registered User
Posts: 30
Joined: Sun May 21, 2017 10:21 pm
Contact:

Re: Replace PHPBB logo

by Galixte de EzCom » Wed Aug 09, 2017 3:16 pm

30 secondes to find it by searching: https://www.phpbb.com/customise/db/styl ... 46#p422646.
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.2.x & 3.3.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
User avatar
Galixte de EzCom
Registered User
Posts: 1106
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: Replace PHPBB logo

by _Vinny_ » Fri Aug 11, 2017 3:55 am

Galixte de EzCom wrote:30 secondes to find it by searching: https://www.phpbb.com/customise/db/styl ... 46#p422646.
This is for 3.1. For 3.2 is other method.
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: Replace PHPBB logo

by Galixte de EzCom » Fri Aug 11, 2017 7:13 am

Yes:
  1. OPEN: ./styles/black/theme/colours.css files
  2. Find:

    Code: Select all

    .site_logo {
    	background-image: url("./images/logo.png");
    }
  3. REPLACE WITH:

    Code: Select all

    .site_logo {
    	background-image: url("./images/your_logo.png");
    }
  4. OR WITH THIS (if your want to put your logo in the main ./images/ folder from phpBB:

    Code: Select all

    .site_logo {
    	background-image: url("../../../images/logos/your_logo.png");
    }
I don’t know exactly how to cover all part from header by the logo, for my needs, i use this:

Code: Select all

.site_logo {
	background-image: url("../../../images/logos/my_logo.png");
	background-size: contain;
	background-repeat: no-repeat;
	display: block;
	max-width: 100%;
	width: 676px;
	height: 84px;
}
But the logo doesn’t cover all part from header, 60/70% maybe.

Vinny an idea?
Last edited by Galixte de EzCom on Sun Aug 13, 2017 9:01 am
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.2.x & 3.3.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
User avatar
Galixte de EzCom
Registered User
Posts: 1106
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: Replace PHPBB logo

by _Vinny_ » Fri Aug 11, 2017 9:10 am

That's because .site-description is width: 65%; of the header.
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 9580
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius
Contact:

Re: Replace PHPBB logo

by Galixte de EzCom » Fri Aug 11, 2017 11:45 am

Thanks, with “Site logo” extension it’s perfect. ;)
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.2.x & 3.3.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
User avatar
Galixte de EzCom
Registered User
Posts: 1106
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact: