The FlatPress Site Theme

Ask questions about FlatPress themes, present your themes, request new themes.
Post Reply
NorfolkGreg
Posts: 6
Joined: Wed Dec 30, 2020 9:58 pm

The FlatPress Site Theme

Post by NorfolkGreg » Fri Jan 08, 2021 5:52 pm

The FlatPress site seems to have a theme that includes a horizontal menu and side bar on desktop screens and a "hamburger" menu button with sidebar moved to the footer position on phones. I cannot find a similar theme available in the Wiki Is there one available. It's just what I would like!

I reckon I'm capable of editing the colour scheme and fonts (as I'm OK with HTML and CSS), but I'm a bit lost with PHP and Smarty - and it looks as if I may need those skills to move the "column" block above the "main" block using Smarty to do that!

User avatar
Arvid
FlatPress Coder
Posts: 199
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: The FlatPress Site Theme

Post by Arvid » Sat Jan 16, 2021 12:07 pm

In fact, it's the "FlatMaas" theme by drudo which evolved over the years. I planned to clean it up properly and put it on the wiki, but didn't manage to do so yet.
I attached it, feel free to adapt and rework. Please be aware it might contain unused code and images. Also, the admin area is a little buggy, e.g. on the widget page.

The horizontal menu is done hard-coded in header.tpl. This is just a temporary solution and should better be done with a blockparser widget in the top area, displaying the static "menu" page (see below). I never found the time to fix the CSS to have that looking good, so for now I just go with plain HTML.

Hope that helps you :)

All the best,
Arvid


My "menu" page:

Code: Select all

[list]
[*][url=.]Home[/url]
[*][url=./download]Download[/url]
[*][url=./demo]Try[/url]
[*][url=blog.php?x=entry]Blog[/url]
[*][url=http://wiki.flatpress.org/]Wiki[/url]
[*][url=http://forum.flatpress.org/]Forum[/url]
[*][url=http://wiki.flatpress.org/res:themes]Themes[/url]
[*][url=http://wiki.flatpress.org/res:plugins]Plugins[/url]
[*][url=./contact]Contact[/url]
[*][url=./hosting]Hosting[/url]
[*][url=https://www.flatpress.de]Deutsch [img=images/de.png][/url]
[/list]
Attachments
official-site.zip
Theme of flatpress.org as of Jan 2021.
(158.38 KiB) Downloaded 46 times

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest