I have designed a weblog that consists of a static page with three layers: A background image, a scrolling text and a layer with header and footer that goes on top of that text. I.e. the text appears from behind the footer and disappears again behind the header.

Before I actually install Drupal I would like to know if such a layout is at all possible (by editing the css for instance). Any help would be greatly appreciated!

Comments

modul’s picture

Drupal can be perfectly arranged according to your wishes. If you want the theme to be organized the way you want it, that shouldn't be any problem. Form and content are separated to whatever extent you want.
1) There is the css side, in separate CSS files, of course.
2) Then there are the theme files, which are, actually, just PHP files, organized in your /themes/your_theme folder. If you want certain elements of your layout to appear on all pages, you can include them in your page.tpl.php ("tpl" files are "templates", but they are just PHP).
3) If you want certain elements to appear only with certain content types, you could include these elements in certain content type templates.
4) Even if you would want certain elements to appear conditionally, e.g. only when certain taxonomy tags (say: "keywords") are present, that can be done too.

In short: Drupal is Very flexible.

Flyvver’s picture

Ah, thank you for that answer modul! I have been browsing around in the documentation already and I think Drupal is very versatile indeed.

Am I wrong in assuming that I would simply need to place my (for instance) header.jpg in a block, stretching this over the full width and adding the nessecary parameters to the z-index of that block to bring it in front of the text?

It sounds too simple to be true you see ;)

F.

modul’s picture

I'm not familiar with the exact problem you have, but I would imagine that fiddling a bit with the parameters of header.jpg in, most probably, page.tpl.php, would indeed take care of things. It takes about 10 minutes to install Drupal. So, I would say, just give it a try :-)

Flyvver’s picture

I'll do exactly that. Gracias for your help!

F.

Flyvver’s picture

... and after a somewhat steep learning curve Drupal has been delivering exactly what it promised to do.

My blog doesn't only *look* the way I wanted it to, it *does* even more than I expected. Drupal is not just great software, the name also stands for a helpful community that has been aiding me and other beginners in any way they can.

To that, I tip my hat ;)

F.

modul’s picture

Glad you like it :-). Drupal is indeed a joy to work with, not because everything is easy (which is Not the case), but because most of the things you want it to do, can be done. Keep on enjoying it!