grab
var string bottom_nav_box_open
and var string bottom_nav_box_close
from print_bottom_nav(RecentPage p)
in square comps.put
var string bottom_nav_box_open
and var string bottom_nav_box_close
near the top of your page_layout(Page p)
function.rename
var string bottom_nav_box_open
and var string bottom_nav_box_close
to var string top_nav_box_open
and var string top_nav_box_close
because they're now being used for the top navbar.add the green:
if (not $*comp_navbar or $*comp_state=="none") {
print $top_nav_box_open;
""" <div class="header">""";
$p->lay_viewspec_nav(); # prints previous / next links including arrow images
"""
</div>
""";
print $top_nav_box_close;
}
the following should be added to your stylesheet via
Page::print_custom_head()
.header-item {
top: 0px;
}
.header {
background-image: url(); /* remove the gradient background */
height: 20px; /* adjust the height of the component */
}
alignment is a little off in ie. tweak it to fit.