PS4 Pro

How to use PS4 font on Prosilver - PS4 Pro

How to use PS4 font on Prosilver

by PB190 » Fri Jun 01, 2018 9:09 am

Hello, i like your theme is perfect, but i want to ask.

I want use only this special ps4 font when you use on your theme. I want use it on default prosilver theme.

Can you help me, what i must add in stylesheet.css ? Thanks
PB190
Registered User
Posts: 134
Joined: Mon Apr 30, 2018 2:50 pm
Contact:

Re: How to use PS4 font on Prosilver

by Jester-fr » Fri Jun 01, 2018 1:14 pm

Hello, thanks,

the better way is to create an inherited style on prosilver. With only the CSS and PS4_pro Fonts.
Last edited by Jester-fr on Fri Jun 01, 2018 3:58 pm
phpBB-fr.com, the phpBB French Support Community since 2000 !
Passez votre forum phpBB 3.0.x, 3.1.x et 3.2.x en langue française !
Try the best French phpBB packs !
Testez phpBB 3.2.x
User avatar
Jester-fr
Registered User
Posts: 149
Joined: Sun May 27, 2007 9:52 am
Location: South of France
Contact:

Re: How to use PS4 font on Prosilver

by Mazeltof » Fri Jun 01, 2018 3:54 pm

Hi,

yes it's the best way. You can use that to help you to create (quickly) an inherited style.

before installing
Rename this style like you want :
eg: pphpbb3/styles/style_perso to pphpbb3/styles/favorite_name

open pphpbb3/styles/favorite_name/style.cfg
find :

Code: Select all

name = style perso
copyright = © votre nom ici
style_version = 1.0.0
phpbb_version = 3.2.2
replaces by :

Code: Select all

name = favorite_name
copyright = © your name
style_version = 1.0.0
phpbb_version = 3.2.2
for ps4pro font :
copy phpBB3/styles/ps4_pro/theme/fonts/*.*
paste to phpBB3/styles/favorite_name/theme/fonts/

open phpBB3/styles/favorite_name/theme/style_perso.css
add :

Code: Select all

@font-face {
	font-family: 'FontPs4pro';
	src: url('fonts/FontPs4pro.eot');
	src: url('fonts/FontPs4pro.eot') format('embedded-opentype'),
		 url('fonts/FontPs4pro.ttf') format('truetype'),
		 url('fonts/FontPs4pro.woff') format('woff'),
		 url('fonts/FontPs4pro.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
.dropdown-contents .fa-sliders:before,
.dropdown-contents .fa-user:before,
.navbar .fa-question-circle:before,
.navbar .fa-bell:before,
.navbar .fa-inbox:before,
.navbar .fa-cogs:before,
.navbar .fa-gavel:before,
.navbar .fa-group:before,
.navbar .fa-shield:before,
.navbar .fa-envelope:before,
.breadcrumbs .fa-home:before,
.dropdown-contents .fa-file-o:before {
	font-family: FontPs4pro;
}
/* Icons & Button icons */
.dropdown-contents .fa-sliders:before		{ content: "\e0b1"; }
.dropdown-contents .fa-user:before			{ content: "\e0b2"; }
.navbar .fa-question-circle:before 			{ content: "\e0a1"; }
.navbar .fa-bell:before 						{ content: "\e0a4"; }
.navbar .fa-inbox:before 					{ content: "\e0a5"; }
.navbar .fa-envelope:before 					{ content: "\e0a5"; }
.navbar .fa-cogs:before 						{ content: "\e0a2"; }
.navbar .fa-gavel:before						{ content: "\e0a3"; }
.navbar .fa-group:before						{ content: "\e0a8"; }
.navbar .fa-shield:before					{ content: "\e0a7"; }
.breadcrumbs .fa-home:before 				{ content: "\e0a6"; }
.dropdown-contents .fa-file-o:before			{ content: "\e0c4"; }
I think it should be ok ;)
Last edited by Mazeltof on Sat Jun 02, 2018 8:01 am
User avatar
Mazeltof
Registered User
Posts: 60
Joined: Wed Sep 28, 2016 5:18 pm
Location: Arras - France
Contact:

Re: How to use PS4 font on Prosilver

by Jester-fr » Fri Jun 01, 2018 3:58 pm

Thanks Mazeltof !
phpBB-fr.com, the phpBB French Support Community since 2000 !
Passez votre forum phpBB 3.0.x, 3.1.x et 3.2.x en langue française !
Try the best French phpBB packs !
Testez phpBB 3.2.x
User avatar
Jester-fr
Registered User
Posts: 149
Joined: Sun May 27, 2007 9:52 am
Location: South of France
Contact: