I cannot reproduce this problem, but one of my friends encountered an issue with alignment of the header.

The site is http://lifestyle.cabanga.org/environment/

I developed all of my modifications to the site using Mac OS X 10.5 with Firefox 3.0, which appears to be what my friend is using. It is very strange that he has a problem but I don't. I'm still investigating this, but I figured I would make a post here to track the issue.

See attached screenshot.

Comments

philbar’s picture

StatusFileSize
new330.89 KB
Wolfflow’s picture

Hi , checked with Safari 3 and FF3 seems OK for me.
Just a Hint, looks like padding settings in theme .css

Cheers

philbar’s picture

I just figured out from the screenshot that the problem appears to show for very high resolution users. I can reproduce the problem by setting the screen resolution very high.

I'm sure the same issue is on drigg.org, but it doesn't have the search bar or menu enable, so it's not a problem.

philbar’s picture

I believe the problem is that the elements are set to absolute when they should be relative to #container.

philbar’s picture

I fixed the primary-links by moving the code above the header divs, but still inside the container div. Then I set the primary-links div to relative.

I tried this with the search bar, but it shifted it relative to the primary-links, making it appear to the left of the menu rather than below it. I didn't have time to figure out how to make it display underneath.

mercmobily’s picture

Hi,

People, this is purely a CSS/theming issue... or is this something that affects the default_theme?

Bye,

Merc.

philbar’s picture

It affects the default_theme. If you had the menu and search enabled on drigg.org, i can show you.

mercmobily’s picture

Hi,

hoilbar, can you tell me *exactly* what to change so that this problem goes away?
Please remember that I know zip about CSS... so, please be very exact!

Merc.

philbar’s picture

I'll see what I can do to create a patch.

mercmobily’s picture

Hi,

Please do -- thanks!

Merc.

philbar’s picture

Status: Active » Needs review
StatusFileSize
new703 bytes

Patch created. I haven't tested it since my theme is a bit different from the default, but I did get the problem fixed with my theme.

mercmobily’s picture

Hi,

Can somebody please test this on drigg_theme?

Nerc.

philbar’s picture

Status: Needs review » Needs work

I've been doing some initial tests and it appears the patch I created still needs some work. I think I have it all figured out and will try to submit a patch in the future. This will probably a few weeks away though because I'm finishing up some classes in Seattle and then have to fly back home for a wedding then drive down San Diego for my next semester.

sikjoy’s picture

Yo philbar:

I'm in San Diego as well. You should check out the SD Drupal user's group when you make it down here.

Hope to see you there,

sicjoy

cedricfontaine’s picture

Assigned: Unassigned » cedricfontaine
philbar’s picture

StatusFileSize
new2.24 KB

Here is a patch that worked well for me.

Summary:
- Rearranged the DIVs in page.tpl.php
- Relative Aligned Primary Links Menu and Search

philbar’s picture

Status: Needs work » Needs review
mercmobily’s picture

Hi,

Cedric, are you happy to apply this patch?

Bye!

Merc.

cedricfontaine’s picture

Status: Needs review » Fixed

Committed

philbar’s picture

Status: Fixed » Active

Can someone update drigg.org so it has the primary menu links?

At least add a link to "drigg-code.org" and maybe one other. This is crucial to test these changes.

cedricfontaine’s picture

Assigned: cedricfontaine » Unassigned
mercmobily’s picture

Status: Active » Fixed

Hi,

Done. Please reopen this bug if the problem persists. Only reopen this bug if there is a problem.

Merc,

mercmobily’s picture

Status: Fixed » Closed (fixed)