Custom style

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
demonwebb
Registered User
Posts: 29
Joined: Wed Jul 15, 2015 7:49 am
Name: Adam Pollard
Contact:

Custom style

Post by demonwebb »

I am trying to make a custom style using prosilver as a parent but Im having problems importing the prosilver css.
I'm using method 3 of the guide, because I don't need to change a great deal.

I've put this in the overall_header.html file at the end of the HEAD element. (using default Prosilver overall_header.html and index_body.html files.

Code: Select all

<link href="{ROOT_PATH}styles/prosilver/theme/stylesheet.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">

<link href="{T_STYLESHEET_LINK}" rel="stylesheet">
{$STYLESHEETS}
but when I look at the source, it is only loading my own empty stylesheet, but the guide says it should load prosilver first, followed by my stylesheet.

I'm applying this to just one forum of the site.
http://www.fungi.org.uk/viewforum.php?f=10

Am I missing something?
User avatar
Mannix_
Registered User
Posts: 1838
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Custom style

Post by Mannix_ »

I think you are missing "/" after {ROOT_PATH}
try this

Code: Select all

<link href="{ROOT_PATH}/styles/prosilver/theme/stylesheet.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
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!
demonwebb
Registered User
Posts: 29
Joined: Wed Jul 15, 2015 7:49 am
Name: Adam Pollard
Contact:

Re: Custom style

Post by demonwebb »

Brilliant, thank you! :-)

I copied and pasted from the guide. This needs correcting in the guide at https://www.phpbb.com/styles/create/
Post Reply

Return to “[3.2.x] Styles Support & Discussion”