If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    Jul 2007
    Member #
    using drupal 5
    aberdeen theme

    I'm having problems with the design of the test site. (Login: username admin, password gs0117; password will be changed at 12:01AM CDT Friday, July 13, 2007). When you click on 'create content', wither 'blog, page or story', there's a big gap between 'submit page' and 'title'. The only way I was able to get this fixed was position:absolute on the sidebar, but some of the pages would overright the footer. Any ideas? Code follows.


    Code for page.tpl.php:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
    <html xmlns="" xml:lang="<?php print $language ?>" lang="<?php print $language ?>">
    <title><?php print $head_title ?></title>
    <?php print $head ?>
    <?php print $styles ?>
    <?php print $scripts ?>
    <link rel="stylesheet" href="<?php print base_path() . path_to_theme() ?>/print.css" media="print" />
    <body<?php print phptemplate_body_class($sidebar_left, $sidebar_right); ?>>
    <div id="container">
    <div id="header">
    <h1 id="site-name"><a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>">
    <?php if ($logo): ?>
    <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" id="logo" />
    <?php endif; ?>
    <?php print $site_name; ?></a>
    <?php if (isset($site_slogan)) : ?>
    <h2 id='site-slogan'>
    <?php print $site_slogan; ?>
    <?php endif; ?> <!-- /logo-name-and-slogan -->

    <?php print $search_box; ?>

    <?php if (isset($primary_links)) : ?>
    <?php print theme('linksnew', $primary_links, array('class' => 'links primary-links')) ?>
    <?php endif; ?>
    <?php if (isset($secondary_links)) : ?>
    <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
    <?php endif; ?> <!-- /primary-and-secondary-links -->
    </div><!-- /header -->
    <div id="wrapper-main"> <?php if ($sidebar_right): ?>
    <div id="sidebar-right" class="sidebar">
    <?php print $sidebar_right ?>
    </div><!-- /sidebar-right -->
    <?php endif; ?>
    <div id="main">
    <?php if ($header): ?>
    <div id="topbar">
    <?php print $header; ?>
    <?php endif; ?>

    <div id="content">
    <div id="center">
    <?php if ($breadcrumb): print $breadcrumb; endif; ?>
    <?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>

    <?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
    <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
    <?php if ($tabs): print $tabs .'</div>'; endif; ?>

    <?php if (isset($tabs2)): print $tabs2; endif; ?>

    <?php if ($help): print $help; endif; ?>
    <?php if ($messages): print $messages; endif; ?>
    <?php print $content ?>
    <span class="clear"></span>
    <?php print $feed_icons ?>
    <p><a href="#top" class="to-top"><?php print t('Back to top'); ?></a></p>
    </div><!-- /center -->

    </div><!-- /content -->

    <?php if ($sidebar_left): ?>
    <div id="sidebar-left" class="sidebar">
    <?php print $sidebar_left ?>
    </div><!-- /sidebar-left -->
    <?php endif; ?>
    </div><!-- /main -->

    <div id="footer">
    <?php print $footer_message ?>
    </div><!-- /wrapper-main -->

    <?php print $closure ?>
    </div><!-- /container -->

    Code for css:
    * Layout.
    #wrapper-header {
    background: #f9f7ed url(images/bg-header.gif) repeat-x left bottom;
    #header {
    margin: 0 auto;
    height: 206px;
    position: relative;
    text-align: left;
    background: #f9f7ed url(images/bg-header.gif) repeat-x left bottom;
    #header-block {
    position: absolute;
    top: 0.5em;
    right: 0;
    width: 48em;
    height: 1.6em;
    #wrapper-main {
    background: #fff url(images/bg-main.gif) repeat-x 0 0;
    #main {
    margin: 0 auto;
    padding-top: 1.6em;
    text-align: left;
    background: #fff url(images/bg-main.gif) repeat-x 0 0;
    #topbar {
    min-height: 1em;
    #sidebar-left {
    width: 16em;
    margin: 2.2em 1.4em 0 0;
    float: left;
    #sidebar-right {
    width: 16em;
    float: right;
    margin-top: 2.2em;
    #center {
    margin-right: 300px;
    #footer {
    clear: both;
    margin: 0 auto;
    padding-top: 4em;
    text-align: center;


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 08:19 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: