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
Reply
Reply
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
Reply
Leave a comment