The second sidebar does not show up on the right side of the screen, if I put up a logo with the same dimensions as the orginal drupal logo. It´s rather placed on the left side of the screen, near content top.

How can it be fixed?

CommentFileSizeAuthor
logo.jpg213.25 KBCoron
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

geerlingguy’s picture

Status: Active » Needs review

It looks like your logo might be a little taller than the original logo. However, I might be able to make the logo not affect the layout at all by adding a rule like the following:

#logo-title {
  position: relative;
}

#logo {
  position: absolute;
  top: Xpx;
  left: Xpx;
}

Replace the 'X' values in the #logo rule with the appropriate values to pad the logo and place it where you want it.

This basically makes the logo remain fixed wherever it is, and should allow other content to not worry so much if it dips below the header area.

It might also be a problem with logo vs. navigation locations.

Coron’s picture

Status: Needs review » Closed (fixed)

Thanks, that fixed the problem. :)

Also, (probably just coincidence and not really related to this problem) I have the feeling that the page loads faster now after I added the few lines of code.

geerlingguy’s picture

Status: Closed (fixed) » Patch (to be ported)

Great! I'll wrap this into the theme next chance I get (therefore I'm setting status to patch, so I'll know to grab the code and make sure it's working for 6.x-1.3).

Coron’s picture

The 6.x-1.3 release works fine so far. Just had the problem with my own logo again but could sort it out by adding the following to the layout.css file.

#logo-title {
position: relative;
}

#logo {
position: absolute;
top: Xpx;
left: Xpx;
}

geerlingguy’s picture

Version: 6.x-1.2 » 6.x-1.3
Assigned: Unassigned » geerlingguy

@ Coron - I will wrap this into 6.x-1.4 when it's released. Sorry I didn't get around to it for 1.3, but I had to push out the new version for compatibility with Zen 2.x-dev :-)

geerlingguy’s picture

Status: Patch (to be ported) » Fixed

I will be releasing 6.x-1.4 later tonight. Thanks for your patience! You might still need to edit the #logo values inside of pages.css.

Status: Fixed » Closed (fixed)

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