Flat Style

Child theme of red variation - Flat Style

Child theme of red variation

by cabrote » Sat Aug 26, 2017 3:29 pm

Hello!

To make a child theme of Flat Style, I need to make a child of main theme or child of colour variation.

Sorry I'm new with PhpBb
Please someone.. need help with this MOD:
http://www.phpbb.com/community/viewtopi ... 6&t=918025
cabrote
Registered User
Posts: 32
Joined: Mon Mar 31, 2008 2:10 am
Contact:

Re: Child theme of red variation

by eeji » Sun Aug 27, 2017 6:11 pm

Either way can be used. If you're making a completely new colour then its best to make a child of the main Flat Style. If you want to use an existing colour variation and change the template then make a child of the variation.
Free styles: phpbbstyles.oo.gd
My board: iansvivarium.com
User avatar
eeji
Jr. Style Validator
Posts: 1083
Joined: Fri Dec 12, 2008 9:08 pm
Location: Manchester, UK
Contact:

Re: Child theme of red variation

by gflex1 » Wed Feb 27, 2019 6:09 pm

How to make a child theme? Sorry for dumb question :)
User avatar
gflex1
Registered User
Posts: 72
Joined: Sun Dec 31, 2017 11:59 am
Contact:

Re: Child theme of red variation

by eeji » Wed Feb 27, 2019 7:19 pm

gflex1 wrote:How to make a child theme? Sorry for dumb question :)
It depends on what you want to change, just the main colour or lots of different changes.
Free styles: phpbbstyles.oo.gd
My board: iansvivarium.com
User avatar
eeji
Jr. Style Validator
Posts: 1083
Joined: Fri Dec 12, 2008 9:08 pm
Location: Manchester, UK
Contact:

Re: Child theme of red variation

by gflex1 » Wed Feb 27, 2019 7:23 pm

Mainly I change colors and layout (centered logo, removed description text etc...)
User avatar
gflex1
Registered User
Posts: 72
Joined: Sun Dec 31, 2017 11:59 am
Contact:

Re: Child theme of red variation

by eeji » Thu Feb 28, 2019 2:47 pm

Copy the main Flat Style into a new folder and rename it to your style name. In your newly copied folder, open style.cfg and change the style name, also change 'inherits from' from prosilver to Flat Style

Open the new yourstyle/template directory and delete all the html files. Your new style will inherit these from Flat Style and Prosilver so make sure these are also installed (they don't have to be active). If you want to make any template changes, copy the relevant file from Flat Styles template into your newly emptied template directory. If the file you want to change isn't present in Flat Style then copy it over from Prosilver.

You have several options for the CSS, either leaving your newly created theme folder and editing those files, or removing them ad linking to the Flat Style files and using a single file for your own changes.
More details on how to do this can be found here: https://www.phpbb.com/styles/create/
Free styles: phpbbstyles.oo.gd
My board: iansvivarium.com
User avatar
eeji
Jr. Style Validator
Posts: 1083
Joined: Fri Dec 12, 2008 9:08 pm
Location: Manchester, UK
Contact: