Tutorial: Coding a complex design using the WordPress Headway framework
For the uninitiated, Headway (affiliate link) is a WordPress theme framework. It is unique though in that it provides a visual editor – like WYSIWYG – for editing a lot of your CSS. It also provides several content display types (called leafs). I use it because it saves time and effort. You can generate standard sites very, very quickly with little to no coding.
You can also do complicated designs. Like this site. They do take longer still, but still save time.
Unsurprisingly, a lot of people have asked how I did this site, which is rather unconventional compared to a stock standard Headway site. So I’d better explain.
Rather than writing an actual tutorial, I will instead dissect the CSS, because that’s where all the magic happens. Bear in mind too, there is no custom PHP at all. That’s one of the great things about Headway.
In this explanation, I’ve sometimes had to break lines of code so they’d fit on the page. Where I’ve done that, I’ve indented them eight characters.
For this site I needed to create three different page layouts
- All blog type pages (posts etc)
- the front page (a page type)
- all the other pages (page types)
If you read my recent tutorial on custom classes, you’ll see them in use here. Not only do they allow you to assign styles to multiple elements at once, but they also make your code much more readable.
I must add, when you code using positioning, your page can look quite scrambled in the Visual Editor, so you will need to proof it in separate browser window.
In this tutorial, I will only show css code that deserves explanation.
Related posts:
-
Darren
-
http://bestatmysite.com Mark ‘MKWeb’
-
Chris
-
Cvcvcvcv
-
http://www.domain2host.info Web Hosting Chennai
-
http://www.mactonweb.com Web design London
-
http://www.register-web-domain.in Domain registration

