placement of the header menu

Nov 29, 2008 14:11

It's probably a stupid question of a beginner, but I really can't figure it out. I've wanted to change something in my layout for a long time already and I know what to do except one thing.

Is there a way to move my header menu under the header? Fixed!

Thank you in advance!

navbar, header

Leave a comment

Comments 4

fiddlingfrog November 29 2008, 15:47:16 UTC
Do you mean like I've done in my layout?

Reply

disordered_baby November 29 2008, 15:57:20 UTC
Um, yeah. I want it to be between the header and the entries.

Reply

fiddlingfrog November 29 2008, 18:27:58 UTC
I don't think it's possible to do this without a paid account because you're not altering the CSS, you're changing the layer itself. I might be wrong, however.

In the Smooth Sailing source code you'll see a section that looks like this:

function Page::lay_print_bodytitlebox(string title, string titletype) {

print safe """

$title

""";
}

Replace that with this:

function Page::lay_print_bodytitlebox(string title, string titletype) {

print safe """

$title

""";
$this->lay_print_header_links();
}

This places the header links below the body title in the body header.

In the original Smooth Sailing source coe you'll also find a section that looks like this:

function Page::lay_print_header() {
var string title = $.global_title;
var string subtitle = $.global_subtitle;
"""

""";
if ($*layout_header_usericon=="show") {"""
$this.journal.default_pic"""; }
print safe """
$title""";
if ($.global_subtitle!="") { print safe """
$subtitle $this-> ( ... )

Reply

disordered_baby November 29 2008, 20:00:33 UTC
Thanks very much for help! I think I will be able to fix it now :)

Reply


Leave a comment

Up