Site name positioned incorrectly

kylebrowning - February 20, 2008 - 17:40
Project:Stasis
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

When displaying site name, it sits under the main navigation block.

AttachmentSize
statis_bug.jpg97.92 KB

#1

pht3k - February 21, 2008 - 02:59

same here

#2

Chris Herberte - February 22, 2008 - 13:18

OS and browser versions please??

How do we like the theme thus far? Do not be shy posting ideas and/or feature requests too.

#3

pht3k - February 22, 2008 - 21:54

hi,

here i have the latest Flock (FF clone) with WinXP.
otherwise the theme is very nice. i like a lot the colors and the left margin with the arrow.

#4

kylebrowning - February 26, 2008 - 18:30

I was using safari, and FF 2.0.0.12.

Theme looks great, Id love another region though.

#5

thefikus - February 29, 2008 - 00:58

Also happens to me in FF 2.0.0.11 on Kubuntu 7.04

#6

David Davis - February 29, 2008 - 08:26

I think that it is because of 2 reasons. First, #sitename doesn't need to be floated...I removed the float and the name partially positioned itself where it belongs...

Secondly, #sitename is in #header-left, which is only 230px wide, so most of my site name is getting pushed down anyway. It would probably be better to position the header above the primary links section.

Here is how I fixed it:

CSS - I had to resize the #sitename font-size because my site's name is too long. I also adjusted the top margin from 17px to 7px, and increased the #slogan font-size to 14px;

#sitename {
font-size:20px;
letter-spacing:2px;
margin-top:7px;
}

#slogan {
font-size:14px;
color:#ccc;
letter-spacing:1px;
}

And then in the HTML, I moved the #sitename div into the #header-right div, and I placed the #slogan inside of the #sitename div.

<div id="header-right">

        <div id="sitename">
          <?php if ($site_name) { ?><a href="<?php print $base_path ?>" title="Home"><?php print $site_name ?></a><?php } ?>
        <div id="slogan">
          <?php if ($site_slogan) { ?><?php print $site_slogan ?><?php } ?>
        </div>
        </div>
        <div id="primary">

#7

Kurse - April 10, 2008 - 18:16

This issue still exists using FF 2.0.0.13 and Vista. Made changes recommended by David Davis, but that didnt correct the issue fully.

As for recommendations/Suggestions, a right sidebar/region would be awesome.

Other than those minor issues, I love the theme!

#8

Chris Herberte - July 11, 2008 - 00:16
Status:active» fixed

I've fixed and committed this, sorry for the delay ppls. See changelog for specifics, I've attached a screenshot -- as you can see the Title and slogan can be very long :P Thanks, keep the feedback coming.

AttachmentSize
stasis-title-fix.png 47.7 KB

#9

Anonymous (not verified) - July 31, 2008 - 04:46
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.